added test code for debugging the soundcard timing jitter

This commit is contained in:
Volker Fischer 2015-03-13 17:09:49 +00:00
parent 07d423f595
commit 583a61081b

View file

@ -907,6 +907,13 @@ void CClient::AudioCallback ( CVector<int16_t>& psData, void* arg )
void CClient::ProcessSndCrdAudioData ( CVector<int16_t>& vecsStereoSndCrd ) void CClient::ProcessSndCrdAudioData ( CVector<int16_t>& vecsStereoSndCrd )
{ {
/*
// TEST do a soundcard jitter measurement
static CTimingMeas JitterMeas ( 1000, "test2.dat" );
JitterMeas.Measure();
*/
// check if a conversion buffer is required or not // check if a conversion buffer is required or not
if ( bSndCrdConversionBufferRequired ) if ( bSndCrdConversionBufferRequired )
{ {