Re: How to identify mic in speaker?
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