From 33fbaabf4507c3e40d469c10910b77be3286a8b4 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Tue, 17 Nov 2015 18:40:54 +0000 Subject: [PATCH] disable debug testing code --- mac/sound.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mac/sound.cpp b/mac/sound.cpp index d5b5c5fc..4f4dd560 100755 --- a/mac/sound.cpp +++ b/mac/sound.cpp @@ -350,8 +350,9 @@ QString CSound::CheckDeviceCapabilities ( const int iDriverIdx ) "This software requires a stereo device.") ); } - +/* // TODO check input device, too! +// It seems that all queried values are zero somehow so the check does not work... AudioObjectGetPropertyData ( audioInputDevice[iDriverIdx], &stPropertyAddress, 0, @@ -365,8 +366,7 @@ qDebug() << "mBytesPerPacket" << CurDevStreamFormat.mBytesPerPacket; qDebug() << "mChannelsPerFrame" << CurDevStreamFormat.mChannelsPerFrame; qDebug() << "mFramesPerPacket" << CurDevStreamFormat.mFramesPerPacket; qDebug() << "mSampleRate" << CurDevStreamFormat.mSampleRate; - - +*/ // everything is ok, return empty string for "no error" case return "";