• 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: How to identify mic in speaker?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to identify mic in speaker?


  • Subject: Re: How to identify mic in speaker?
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 07 Jul 2008 14:42:16 -0700


On Jul 3, 2008, at 6:53 PM, Alex Curylo wrote:

I'd like to know when recording whether the microphone is tucked inside the speaker, as it is on a MacBook Pro -- at least the current models. Is there some way to identify that situation through Core Audio directly?

No.

If not, anyone happen to know how to get your hands on that "Model Identifier" that comes up in System Profiler?

I don't know what API calls System Profiler uses, but I can get the model ID using /usr/sbin/sysctl:
moorf@jcm10> sysctl hw.model
hw.model: MacPro1,1


I believe that you can use <sys/sysctl.h> to do this programmatically.

--

Jeff Moore
Core Audio
Apple


_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How to identify mic in speaker? (From: Alex Curylo <email@hidden>)

  • Prev by Date: Re: A simple 'Device Through' app (need some help).
  • Next by Date: Re: Programmatic Aggregate Device issue on Intel Mac, not always completing initialisation?
  • Previous by thread: How to identify mic in speaker?
  • Next by thread: Getting AudioFormatGetProperty to fillout a AudioStreamBasicDescription
  • Index(es):
    • Date
    • Thread