--- doomsday/plugins/openal/src/driver_openal.cpp 2013-01-06 17:23:50.000000000 +0100 +++ doomsday/plugins/openal/src/driver_openal.cpp 2013-04-07 18:26:42.321742693 +0200 @@ -215,6 +215,7 @@ } // Attach the buffer to the source. +#if 0 alSourcei(srcName, AL_BUFFER, bufName); if(DSOPENAL_ERRCHECK(alGetError())) { @@ -222,6 +223,7 @@ alDeleteBuffers(1, &bufName); return NULL; } +#endif if(!(flags & SFXBF_3D)) { @@ -270,6 +272,8 @@ return; // No need to reload. } + alSourceStop(SRC(buf)); + alSourcei(SRC(buf), AL_BUFFER, 0); alBufferData(BUF(buf), sample->bytesPer == 1 ? AL_FORMAT_MONO8 : AL_FORMAT_MONO16, sample->data, sample->size, sample->rate);