diff --git a/stepmania/src/arch/Sound/ALSA9Helpers.cpp b/stepmania/src/arch/Sound/ALSA9Helpers.cpp index b12a2f27ec..54ab974c7c 100644 --- a/stepmania/src/arch/Sound/ALSA9Helpers.cpp +++ b/stepmania/src/arch/Sound/ALSA9Helpers.cpp @@ -307,8 +307,8 @@ int Alsa9Buf::GetNumFramesToFill() /* Number of frames that don't have data, that are within the writeahead: */ snd_pcm_sframes_t unfilled_frames = clamp( ActualWriteahead - filled_frames, 0l, (snd_pcm_sframes_t)ActualWriteahead ); - LOG->Trace( "total_fr: %i; avail_fr: %i; filled_fr: %i; ActualWr %i; chunksize %i; unfilled_frames %i ", - total_frames, avail_frames, filled_frames, ActualWriteahead, chunksize, unfilled_frames ); +// LOG->Trace( "total_fr: %i; avail_fr: %i; filled_fr: %i; ActualWr %i; chunksize %i; unfilled_frames %i ", +// total_frames, avail_frames, filled_frames, ActualWriteahead, chunksize, unfilled_frames ); /* If we have less than a chunk empty, don't fill at all. Otherwise, we'll * spend a lot of CPU filling in partial chunks, instead of waiting for some @@ -327,8 +327,6 @@ bool Alsa9Buf::WaitUntilFramesCanBeFilled( int timeout_ms ) return false; ALSA_ASSERT("snd_pcm_wait"); - dsnd_pcm_hwsync( pcm ); - return err == 1; }