|
| SoundPC_v1 (KyraEngine_v1 *vm, Audio::Mixer *mixer, kType type) |
|
kType | getMusicType () const override |
|
bool | init () override |
|
void | process () override |
|
void | updateVolumeSettings () 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 &file) override |
|
void | playTrack (uint8 track) override |
|
void | haltTrack () override |
|
bool | isPlaying () const override |
|
void | playSoundEffect (uint16 track, uint8 volume=0xFF) override |
|
void | beginFadeOut () override |
|
int | checkTrigger () override |
|
void | resetTrigger () override |
|
| Sound (KyraEngine_v1 *vm, Audio::Mixer *mixer) |
|
virtual kType | getSfxType () const |
|
virtual bool | useDigitalSfx () const |
|
virtual void | unloadSoundFile (const Common::String &file) |
|
virtual void | loadSfxFile (const Common::Path &file) |
|
virtual void | stopAllSoundEffects () |
|
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) |
|
AdLib/PC Speaker (early version) implementation of the sound output device.
It uses a special sound file format special to EoB I, II, Dune II, Kyrandia 1 and 2 and LoL. EoB I has a slightly different (oldest) file format, EoB II, Dune II and Kyrandia 1 have the exact same format, Kyrandia 2 and LoL have a slightly different format.
For PC Speaker this is a little different. Only the EoB games use the old driver with this data file format. The newer games use a MIDI-like driver (see pcspeaker_v2.cpp).
See AdLibDriver / PCSpeakerDriver for more information.
- See also
- AdLibDriver