src/Audio.cpp in gosu-1.4.0 vs src/Audio.cpp in gosu-1.4.1
- old
+ new
@@ -146,9 +146,11 @@
{
ALuint source = al_source_for_songs();
alSourceStop(source);
+ alSourcei(source, AL_BUFFER, AL_NONE);
+
// Dequeue all buffers for this source.
// The number of QUEUED buffers apparently includes the number of PROCESSED ones,
// so getting rid of the QUEUED ones is enough.
ALuint buffer;
int queued;