At OpenAL shutdown don't do not stop only the stream chan but all chans.

I'm not quite sure if this really makes a difference. But it's the only
idea I have regarding several "Quake II hangs at shutdown when OpenAL is
run with Pulseaudio backend" bugs.
This commit is contained in:
Yamagi Burmeister 2016-08-04 09:21:33 +02:00
parent 978eec1a8d
commit fa4eacc976

View file

@ -842,7 +842,7 @@ AL_Shutdown(void)
{
Com_Printf("Shutting down OpenAL.\n");
AL_StreamDie();
AL_StopAllChannels();
qalDeleteSources(1, &streamSource);
qalDeleteFilters(1, &underwaterFilter);