projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc1ede
)
fix OpenAl deleting buffers before stop()
author
Matthias Braun
<matze@braunis.de>
Tue, 4 Apr 2006 00:10:53 +0000
(
00:10
+0000)
committer
Matthias Braun
<matze@braunis.de>
Tue, 4 Apr 2006 00:10:53 +0000
(
00:10
+0000)
SVN-Revision: 3240
src/audio/stream_sound_source.cpp
patch
|
blob
|
history
diff --git
a/src/audio/stream_sound_source.cpp
b/src/audio/stream_sound_source.cpp
index
6918a16
..
6e6ce06
100644
(file)
--- 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: ");
}