|
|
| SoundTowns_LoK (KyraEngine_v1 *vm, Audio::Mixer *mixer) |
| |
| kType | getMusicType () const override |
| |
| bool | init () override |
| |
| void | process () override |
| |
| void | initAudioResourceInfo (int set, void *info) override |
| |
| void | selectAudioResourceSet (int set) override |
| |
| bool | hasSoundFile (uint file) const override |
| |
| void | loadSoundFile (uint file) override |
| |
| void | loadSoundFile (const Common::Path &) override |
| |
| void | playTrack (uint8 track) override |
| |
| void | haltTrack () override |
| |
| void | playSoundEffect (uint16 track, uint8 volume=0xFF) override |
| |
| void | stopAllSoundEffects () override |
| |
| void | beginFadeOut () override |
| |
| void | updateVolumeSettings () override |
| |
| void | enableMusic (int enable) override |
| |
|
| Sound (KyraEngine_v1 *vm, Audio::Mixer *mixer) |
| |
|
virtual kType | getMusicType () const =0 |
| |
|
virtual kType | getSfxType () const |
| |
|
virtual bool | useDigitalSfx () const |
| |
| virtual bool | init ()=0 |
| |
| virtual void | process () |
| |
| virtual void | updateVolumeSettings () |
| |
| virtual void | initAudioResourceInfo (int set, void *info)=0 |
| |
| virtual void | selectAudioResourceSet (int set)=0 |
| |
| virtual bool | hasSoundFile (uint file) const =0 |
| |
| virtual void | loadSoundFile (uint file)=0 |
| |
| virtual void | loadSoundFile (const Common::Path &file)=0 |
| |
| virtual void | unloadSoundFile (const Common::String &file) |
| |
| virtual void | loadSfxFile (const Common::Path &file) |
| |
| virtual void | playTrack (uint8 track)=0 |
| |
| virtual void | haltTrack ()=0 |
| |
| virtual void | playSoundEffect (uint16 track, uint8 volume=0xFF)=0 |
| |
| virtual void | stopAllSoundEffects () |
| |
| virtual bool | isPlaying () const |
| |
| virtual void | beginFadeOut ()=0 |
| |
|
virtual void | beginFadeOut (int) |
| |
| virtual void | pause (bool paused) |
| |
|
virtual void | enableMusic (int enable) |
| |
|
int | musicEnabled () const |
| |
|
void | enableSFX (bool enable) |
| |
|
bool | sfxEnabled () const |
| |
| bool | isVoicePresent (const char *file) const |
| |
| virtual int32 | voicePlay (const char *file, Audio::SoundHandle *handle=0, uint8 volume=255, uint8 priority=255, bool isSfx=false) |
| |
|
Audio::SeekableAudioStream * | getVoiceStream (const char *file) const |
| |
|
bool | playVoiceStream (Audio::AudioStream *stream, Audio::SoundHandle *handle=0, uint8 volume=255, uint8 priority=255, bool isSfx=false) |
| |
| bool | voiceIsPlaying (const Audio::SoundHandle *handle=0) const |
| |
| bool | allVoiceChannelsPlaying () const |
| |
| uint32 | voicePlayedTime (const Audio::SoundHandle &handle) const |
| |
| void | voiceStop (const Audio::SoundHandle *handle=0) |
| |
| virtual int | checkTrigger () |
| |
| virtual void | resetTrigger () |
| |