Fix busy looping in libsoundio audio renderer when no audio is playing

This commit is contained in:
Cameron Gutman 2018-11-27 23:43:31 -08:00
commit d1fe752028
2 changed files with 16 additions and 6 deletions

View file

@ -33,4 +33,6 @@ private:
struct SoundIoRingBuffer* m_RingBuffer;
struct SoundIoChannelLayout m_EffectiveLayout;
bool m_Errored;
static const double k_RawSampleLengthSec;
};