Fix T37293: trying to fix scrubbing not stopping playback

This commit is contained in:
Joerg Mueller 2014-03-10 12:30:50 +01:00
parent fe094eaf20
commit b977cfd28b
Notes: blender-bot 2023-02-14 11:39:16 +01:00
Referenced by issue #37293, Audio does not Scrub, plays fully instead
1 changed files with 1 additions and 1 deletions

View File

@ -994,7 +994,7 @@ void AUD_OpenALDevice::updateStreams()
if(info != AL_PLAYING)
{
// if it really stopped
if(sound->m_eos)
if(sound->m_eos && info != AL_INITIAL)
{
if(sound->m_stop)
sound->m_stop(sound->m_stop_data);