added test code for debugging the soundcard timing jitter
This commit is contained in:
parent
07d423f595
commit
583a61081b
1 changed files with 7 additions and 0 deletions
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue