• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detect microphone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detect microphone


  • Subject: Re: Detect microphone
  • From: chaitanya pandit <email@hidden>
  • Date: Mon, 10 Nov 2008 17:14:14 +0530


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 an error if there is no input device connected, but in this case as the mac mini has "Built in input" as the default input device, this method fails to detect if the MIcrophone is connected.

Also, do you know whether the Mac Mini can actually physically detect whether a microphone is plugged into the line-in socket? Maybe it can't - that would be a hardware feature. If the hardware doesn't know, the software sure won't.

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.

--Graham

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Detect microphone
      • From: "Kyle Sluder" <email@hidden>
    • Responder Chain & Multiple Windows
      • From: Todd Heberlein <email@hidden>
References: 
 >Detect microphone (From: chaitanya pandit <email@hidden>)
 >Re: Detect microphone (From: "Kyle Sluder" <email@hidden>)
 >Re: Detect microphone (From: chaitanya pandit <email@hidden>)
 >Re: Detect microphone (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Detect microphone
  • Next by Date: Responder Chain & Multiple Windows
  • Previous by thread: Re: Detect microphone
  • Next by thread: Responder Chain & Multiple Windows
  • Index(es):
    • Date
    • Thread