Audio/DummyAudioSource: Fix status after Stop() call
This commit is contained in:
parent
2389a2fe53
commit
e1d2063bf0
|
|
@ -187,6 +187,7 @@ namespace Nz
|
||||||
void DummyAudioSource::Stop()
|
void DummyAudioSource::Stop()
|
||||||
{
|
{
|
||||||
m_playClock.Restart(0, true);
|
m_playClock.Restart(0, true);
|
||||||
|
m_status = SoundStatus::Stopped;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<AudioBuffer> DummyAudioSource::TryUnqueueProcessedBuffer()
|
std::shared_ptr<AudioBuffer> DummyAudioSource::TryUnqueueProcessedBuffer()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue