diff options
author | Max Horn | 2007-02-26 20:41:52 +0000 |
---|---|---|
committer | Max Horn | 2007-02-26 20:41:52 +0000 |
commit | 73188b47161462e8de10539bc64a58ee11563a84 (patch) | |
tree | 17364dbdbc950c8f34556c59b0b02434a479ed81 /engines/gob/sound.h | |
parent | 1c80f2ffa0d22c39fce5da342b72f890415aec8c (diff) | |
download | scummvm-rg350-73188b47161462e8de10539bc64a58ee11563a84.tar.gz scummvm-rg350-73188b47161462e8de10539bc64a58ee11563a84.tar.bz2 scummvm-rg350-73188b47161462e8de10539bc64a58ee11563a84.zip |
'Optimized' SquareWaveStream::readBuffer a bit, removed some dead code, and changed Snd::terminate to a destructor (this ensures client code can't forget to do just that -- not that we'd ever forget ... ;-)
svn-id: r25884
Diffstat (limited to 'engines/gob/sound.h')
-rw-r--r-- | engines/gob/sound.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/gob/sound.h b/engines/gob/sound.h index e11d42f1a3..2ce4f3cd3d 100644 --- a/engines/gob/sound.h +++ b/engines/gob/sound.h @@ -48,8 +48,8 @@ public: char _playingSound; Snd(GobEngine *vm); + ~Snd(); - void terminate(); void speakerOn(int16 frequency, int32 length); void speakerOff(void); void speakerOnUpdate(uint32 milis); @@ -138,14 +138,6 @@ protected: GobEngine *_vm; - void cleanupFuncCallback() {;} - int16 checkProAudio(void) {return 0;} - int16 checkAdlib(void) {return 0;} - int16 checkBlaster(void) {return 0;} - - void writeAdlib(int16 port, int16 data); - void setBlasterPort(int16 port); - void setResetTimerFlag(char flag){return;} void setSample(Snd::SoundDesc *sndDesc, int16 repCount, int16 frequency, int16 fadeLength); void checkEndSample(void); void nextCompositionPos(void); |