On Mon, Nov 10, 2008 at 6:44 AM, chaitanya pandit
<[EMAIL PROTECTED]> wrote:
> I tried to record an audio with Quicktime player, it didn't warn me about
> absence of a microphone (Which ideally it should have) so i guess there
> really isn't a way to know of a connected mic.
Electrically there's n
On 10-Nov-08, at 4:55 PM, Graham Cox wrote:
On 10 Nov 2008, at 10:15 pm, chaitanya pandit wrote:
Well i tried this before but this doesn't work either
"Doesn't work" covers a multitude of sins; *what* doesn't work?
Oh, i was assuming that the AudioHardwareGetProperty method will
return
On 10 Nov 2008, at 10:15 pm, chaitanya pandit wrote:
Well i tried this before but this doesn't work either
"Doesn't work" covers a multitude of sins; *what* doesn't work?
Also, do you know whether the Mac Mini can actually physically detect
whether a microphone is plugged into the line-in
Well i tried this before but this doesn't work either
- (BOOL)micConnected
{
BOOL retVal = YES;
UInt32 size;
OSStatus err =noErr;
size = sizeof(AudioDeviceID);
AudioDeviceID inputDeviceID;
err =
AudioHardwareGetProperty(kAudioHardwarePropertyDefau
On Mon, Nov 10, 2008 at 2:45 AM, chaitanya pandit
<[EMAIL PROTECTED]> wrote:
> 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"
That would be the line-in jack.
Have you tried asking on the coreaudio-api
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