diff options
-rw-r--r-- | gob/sound.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gob/sound.cpp b/gob/sound.cpp index 25553531db..19dd403152 100644 --- a/gob/sound.cpp +++ b/gob/sound.cpp @@ -35,6 +35,14 @@ void snd_speakerOff(void) {return;} void snd_stopSound(int16 arg){return;} void snd_setResetTimerFlag(char flag){return;} +// This is mostly to see if we are interpreting the sound effects correctly. If +// we want to implement looping etc. we're probably going to need something a +// bit more elaborate. +// +// Currently we ignore looping completely. We also ignore samples with negative +// sample frequency. Something wacky is going on here, and I don't think it's +// a simple signed/unsigned issue. + void snd_playSample(Snd_SoundDesc *sndDesc, int16 repCount, int16 frequency) { if (repCount != 1) warning("snd_playSample: repCount = %d - not implemented", repCount); |