Public Member Functions | |
SoundClipWave (Audio::AudioStream *stream, bool repeat=false) | |
int | get_sound_type () const |
Public Member Functions inherited from AGS3::SoundClipWaveBase | |
SoundClipWaveBase (Audio::AudioStream *stream, bool repeat=false) | |
void | setType (Audio::Mixer::SoundType type) |
void | poll () override |
int | play () override |
int | play_from (int position) override |
void | pause () override |
void | resume () override |
bool | is_playing () override |
bool | is_paused () override |
void | seek (int offset) override |
void | seek_ms (int pos_ms) override |
int | get_pos () override |
int | get_pos_ms () override |
int | get_length_ms () override |
void | set_panning (int newPanning) override |
void | set_speed (int new_speed) override |
void | adjust_volume () override |
Public Member Functions inherited from AGS3::SOUNDCLIP | |
int | get_volume100 () const |
int | get_volume255 () const |
int | get_panning () const |
int | get_speed () const |
bool | is_muted () const |
void | set_volume100 (int volume) |
void | set_volume255 (int volume) |
void | set_volume_direct (int vol_percent, int vol_absolute) |
void | set_mute (bool mute) |
void | apply_volume_modifier (int mod) |
void | apply_directional_modifier (int mod) |
bool | is_ready () |
bool | update () |
Additional Inherited Members | |
Public Attributes inherited from AGS3::SoundClipWaveBase | |
Audio::Mixer * | _mixer |
Audio::AudioStream * | _stream |
Audio::SoundHandle | _soundHandle |
SoundClipState | _state |
bool | _waitingToPlay = false |
Public Attributes inherited from AGS3::SOUNDCLIP | |
int | _sourceClipID |
int | _sourceClipType |
bool | _repeat |
int | _priority |
int | _xSource |
int | _ySource |
int | _maximumPossibleDistanceAway |
int | _vol255 |
int | _vol100 |
int | _volModifier |
int | _panning |
int | _panningAsPercentage |
int | _directionalVolModifier |
Protected Member Functions inherited from AGS3::SOUNDCLIP | |
int | get_final_volume () const |
Protected Attributes inherited from AGS3::SOUNDCLIP | |
bool | _muted = false |
int | _speed = 0 |
bool | _paramsChanged = false |
|
inlinevirtual |
Get legacy sound format type
Implements AGS3::SOUNDCLIP.