diff options
author | Max Horn | 2002-10-16 00:24:45 +0000 |
---|---|---|
committer | Max Horn | 2002-10-16 00:24:45 +0000 |
commit | 6631df898c9b284e5bdd7b734dccba1a61a4a6e4 (patch) | |
tree | 3effc386b5468c87cd59cb3b01d4092753558545 | |
parent | 09225027f1f8b87360952904b6f55f69976b040a (diff) | |
download | scummvm-rg350-6631df898c9b284e5bdd7b734dccba1a61a4a6e4.tar.gz scummvm-rg350-6631df898c9b284e5bdd7b734dccba1a61a4a6e4.tar.bz2 scummvm-rg350-6631df898c9b284e5bdd7b734dccba1a61a4a6e4.zip |
compilation fix
svn-id: r5158
-rw-r--r-- | sound/mixer.cpp | 5 | ||||
-rw-r--r-- | sound/mixer.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp index 7edca2a86c..7f1c169da1 100644 --- a/sound/mixer.cpp +++ b/sound/mixer.cpp @@ -193,11 +193,6 @@ void SoundMixer::stopAll() { _channels[i]->destroy(); } -void SoundMixer::stop(PlayingSoundHandle psh) { - if (psh && _channels[psh - 1]) - _channels[psh - 1]->destroy(); -} - void SoundMixer::stop(int index) { if ((index < 0) || (index >= NUM_CHANNELS)) { warning("soundMixer::stop has invalid index %d", index); diff --git a/sound/mixer.h b/sound/mixer.h index 491ee5fccb..fd947502ca 100644 --- a/sound/mixer.h +++ b/sound/mixer.h @@ -202,7 +202,6 @@ public: void stopAll(); /* stop playing a specific sound */ - void stop(PlayingSoundHandle psh); void stop(int index); /* append to existing sound */ |