disable debug testing code

This commit is contained in:
Volker Fischer 2015-11-17 18:40:54 +00:00
parent e41f337d3a
commit 33fbaabf45

View File

@ -350,8 +350,9 @@ QString CSound::CheckDeviceCapabilities ( const int iDriverIdx )
"This software requires a stereo device.") ); "This software requires a stereo device.") );
} }
/*
// TODO check input device, too! // TODO check input device, too!
// It seems that all queried values are zero somehow so the check does not work...
AudioObjectGetPropertyData ( audioInputDevice[iDriverIdx], AudioObjectGetPropertyData ( audioInputDevice[iDriverIdx],
&stPropertyAddress, &stPropertyAddress,
0, 0,
@ -365,8 +366,7 @@ qDebug() << "mBytesPerPacket" << CurDevStreamFormat.mBytesPerPacket;
qDebug() << "mChannelsPerFrame" << CurDevStreamFormat.mChannelsPerFrame; qDebug() << "mChannelsPerFrame" << CurDevStreamFormat.mChannelsPerFrame;
qDebug() << "mFramesPerPacket" << CurDevStreamFormat.mFramesPerPacket; qDebug() << "mFramesPerPacket" << CurDevStreamFormat.mFramesPerPacket;
qDebug() << "mSampleRate" << CurDevStreamFormat.mSampleRate; qDebug() << "mSampleRate" << CurDevStreamFormat.mSampleRate;
*/
// everything is ok, return empty string for "no error" case // everything is ok, return empty string for "no error" case
return ""; return "";