mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 19:45:45 -04:00
System: Don't drop audio buffers when time lost
This commit is contained in:
@ -560,7 +560,6 @@ void System::Throttle()
|
|||||||
#endif
|
#endif
|
||||||
m_last_throttle_time = 0;
|
m_last_throttle_time = 0;
|
||||||
m_throttle_timer.Reset();
|
m_throttle_timer.Reset();
|
||||||
m_host_interface->GetAudioStream()->EmptyBuffers();
|
|
||||||
}
|
}
|
||||||
else if (sleep_time >= MINIMUM_SLEEP_TIME && sleep_time <= m_throttle_period)
|
else if (sleep_time >= MINIMUM_SLEEP_TIME && sleep_time <= m_throttle_period)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user