From 4655b6627c817d31f2483281c60297a65a4232b2 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 4 Apr 2006 00:10:53 +0000 Subject: [PATCH] fix OpenAl deleting buffers before stop() SVN-Revision: 3240 --- src/audio/stream_sound_source.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/audio/stream_sound_source.cpp b/src/audio/stream_sound_source.cpp index 6918a165b..6e6ce06d1 100644 --- a/src/audio/stream_sound_source.cpp +++ b/src/audio/stream_sound_source.cpp @@ -18,6 +18,7 @@ StreamSoundSource::StreamSoundSource() StreamSoundSource::~StreamSoundSource() { delete file; + stop(); alDeleteBuffers(STREAMFRAGMENTS, buffers); SoundManager::check_al_error("Couldn't delete audio buffers: "); } -- 2.11.0