mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-01 16:25:41 -04:00
System: Skip throttler phase reset when running at <100%
This commit is contained in:
parent
04a187afb2
commit
4e87b30b40
@ -1261,7 +1261,7 @@ void ResetThrottler()
|
|||||||
void Throttle()
|
void Throttle()
|
||||||
{
|
{
|
||||||
// Reset the throttler on audio buffer overflow, so we don't end up out of phase.
|
// Reset the throttler on audio buffer overflow, so we don't end up out of phase.
|
||||||
if (g_host_interface->GetAudioStream()->DidUnderflow())
|
if (g_host_interface->GetAudioStream()->DidUnderflow() && s_target_speed >= 1.0f)
|
||||||
{
|
{
|
||||||
Log_DevPrintf("Audio buffer underflowed, resetting throttler");
|
Log_DevPrintf("Audio buffer underflowed, resetting throttler");
|
||||||
ResetThrottler();
|
ResetThrottler();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user