Fix T37293: trying to fix scrubbing not stopping playback
This commit is contained in:
@@ -994,7 +994,7 @@ void AUD_OpenALDevice::updateStreams()
|
|||||||
if(info != AL_PLAYING)
|
if(info != AL_PLAYING)
|
||||||
{
|
{
|
||||||
// if it really stopped
|
// if it really stopped
|
||||||
if(sound->m_eos)
|
if(sound->m_eos && info != AL_INITIAL)
|
||||||
{
|
{
|
||||||
if(sound->m_stop)
|
if(sound->m_stop)
|
||||||
sound->m_stop(sound->m_stop_data);
|
sound->m_stop(sound->m_stop_data);
|
||||||
|
Reference in New Issue
Block a user