• 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 uniquely identify audio device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to uniquely identify audio device


  • Subject: Re: How to uniquely identify audio device
  • From: Murray Jason <email@hidden>
  • Date: Fri, 21 Dec 2007 00:08:35 -0800

Date: Thu, 20 Dec 2007 11:47:50 -0800
From: Jeff Moore <email@hidden>
Subject: Re: How to uniquely identify audio device
To: CoreAudio API <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Odd. My version of <CoreAudio/AudioHardware.h> says:
    @constant       kAudioDevicePropertyTransportType
                        A UInt32 whose value indicates how the
AudioDevice is connected to the CPU.
                        Constants for some of the values for this
property can be found in
                        <IOKit/audio/IOAudioTypes.h>.

The Tiger and Leopard versions of this header file do indeed provide a complete sentence there... but the document that Shaun cites does have missing text. Thanks for pointing out the problem!


-murray

On Dec 20, 2007, at 11:14 AM, Lorenzo Thurman wrote:

Shaun Wexler wrote:
On Dec 20, 2007, at 10:28 AM, Lorenzo Thurman wrote:
I have just one followup question on this topic:
How do I identify which device is the built-in audio Apple
hardware? There don't appear to be any methods that would tell me
that a particular piece of hardware is the built-in hardware. By
the way, I'm looking at this page here as it seems most relevant
to what I'm doing:
http://tinyurl.com/3d4s6n
Is there somewhere else I need to look? Is there sample code that
might help?
TIA
Examine the device's Transport Type.
Thanks for the reply. I'll look into this later, but I guess I found
one of those occasional documentation bugs:

"kAudioDevicePropertyTransportType
  A UInt32 whose value indicates how the AudioDevice is connected
to the CPU. Constants for some of the values for this property can
be found in ."

I guess I can find the constants for the property somewhere in one
of the header files.



--

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
  • Prev by Date: old mtcoreaudio code doesn't work now
  • Next by Date: Re: Quick question on configuring an AU for a certain channel config
  • Previous by thread: Re: How to uniquely identify audio device
  • Next by thread: Re: ExtAudioFileSeek returning -66568 (kExtAudioFileError_InvalidSeek)
  • Index(es):
    • Date
    • Thread