diff options
| -rw-r--r-- | engines/hdb/sound.cpp | 5 | ||||
| -rw-r--r-- | engines/hdb/sound.h | 9 | 
2 files changed, 14 insertions, 0 deletions
diff --git a/engines/hdb/sound.cpp b/engines/hdb/sound.cpp index 1f4ec0aa36..92840e9eb0 100644 --- a/engines/hdb/sound.cpp +++ b/engines/hdb/sound.cpp @@ -34,6 +34,11 @@ bool Sound::playSound(int index) {  	return true;  } +bool Sound::playSoundEx(int index, int channel, bool loop) { +	debug(9, "STUB: Play SoundEx"); +	return true; +} +  bool Sound::playVoice(int index, int actor) {  	warning("STUB: Play Voice");  	return true; diff --git a/engines/hdb/sound.h b/engines/hdb/sound.h index f268309d0b..c790ca910b 100644 --- a/engines/hdb/sound.h +++ b/engines/hdb/sound.h @@ -25,6 +25,14 @@  namespace HDB { +enum { +	kMaxSNDChannels = 32, +	kSNDFrequency = 22050, +	kLaserChannel = kMaxSNDChannels - 1, +	kMusicChannel = kMaxSNDChannels - 2, +	kVoiceChannel = kMaxSNDChannels - 5 +}; +  enum SoundType {  	SONG_NONE,  	SND_GUI_INPUT, @@ -1382,6 +1390,7 @@ public:  	bool init();  	bool playSound(int index); +	bool playSoundEx(int index, int channel, bool loop);  	bool playVoice(int index, int actor);  	void markSoundCacheFreeable();  | 
