Fix T37293: trying to fix scrubbing not stopping playback
This commit is contained in:
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
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue