remove debug

This commit is contained in:
Glenn Maynard
2004-06-01 05:40:53 +00:00
parent 30b00ea03e
commit 36def366c6
+2 -4
View File
@@ -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;
}