Hi List,
I'm using core audio to record sound, however i want to detect if a microphone is connected to the computer, how can i do that?
I tried using QTKit to do this:

QTCaptureDevice *soundDevice = [QTCaptureDevice defaultInputDeviceWithMediaType:QTMediaTypeSound];
    BOOL micPresent = [soundDevice isConnected]];

But on my Mac Mini which doesn't have a built in microphone it still returns YES for isConnected and the device returned is "Built-in input"
Any help would be appreciated,
Thanks,
Chaitanya
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to