diff options
-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 */ |