mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 08:53:51 +00:00
paranoia
svn-id: r11980
This commit is contained in:
parent
af2d9b9a16
commit
fabcb25a68
@ -127,9 +127,7 @@ SoundMixer::SoundMixer() {
|
||||
|
||||
SoundMixer::~SoundMixer() {
|
||||
_syst->clear_sound_proc();
|
||||
for (int i = 0; i != NUM_CHANNELS; i++) {
|
||||
delete _channels[i];
|
||||
}
|
||||
stopAll();
|
||||
_syst->delete_mutex(_mutex);
|
||||
}
|
||||
|
||||
@ -164,7 +162,7 @@ void SoundMixer::appendStream(PlayingSoundHandle handle, void *sound, uint32 siz
|
||||
chan = (ChannelStream*)_channels[index];
|
||||
#endif
|
||||
if (!chan) {
|
||||
error("Trying to append to nonexistant streamer : %d", index);
|
||||
error("Trying to append to nonexistant stream : %d", index);
|
||||
} else {
|
||||
chan->append(sound, size);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user