mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
comment addition and clean-up
This commit is contained in:
parent
3d1217da2f
commit
584230b094
@ -2121,7 +2121,7 @@ wxString AudioIO::GetDeviceInfo()
|
|||||||
|
|
||||||
// This method is the data gateway between the audio thread (which
|
// This method is the data gateway between the audio thread (which
|
||||||
// communicates with the disk) and the PortAudio callback thread
|
// communicates with the disk) and the PortAudio callback thread
|
||||||
// (which communicates with the audio device.
|
// (which communicates with the audio device).
|
||||||
void AudioIO::FillBuffers()
|
void AudioIO::FillBuffers()
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
@ -2219,9 +2219,9 @@ void AudioIO::FillBuffers()
|
|||||||
|
|
||||||
} while (mPlayLooped && secsAvail > 0 && deltat > 0);
|
} while (mPlayLooped && secsAvail > 0 && deltat > 0);
|
||||||
}
|
}
|
||||||
}
|
} // end of playback buffering
|
||||||
|
|
||||||
if( mCaptureTracks.GetCount() > 0 )
|
if( mCaptureTracks.GetCount() > 0 ) // start record buffering
|
||||||
{
|
{
|
||||||
int commonlyAvail = GetCommonlyAvailCapture();
|
int commonlyAvail = GetCommonlyAvailCapture();
|
||||||
|
|
||||||
@ -2284,7 +2284,7 @@ void AudioIO::FillBuffers()
|
|||||||
if (mListener && !blockFileLog.IsEmpty())
|
if (mListener && !blockFileLog.IsEmpty())
|
||||||
mListener->OnAudioIONewBlockFiles(blockFileLog);
|
mListener->OnAudioIONewBlockFiles(blockFileLog);
|
||||||
}
|
}
|
||||||
}
|
} // end of record buffering
|
||||||
|
|
||||||
//if ( mMidiStreamActive && mMidiPlaybackTracks.GetCount() > 0 )
|
//if ( mMidiStreamActive && mMidiPlaybackTracks.GetCount() > 0 )
|
||||||
//FillMidiBuffers();
|
//FillMidiBuffers();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user