• 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: Obtaining an AudioObjectID from an AudioDeviceID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obtaining an AudioObjectID from an AudioDeviceID


  • Subject: Re: Obtaining an AudioObjectID from an AudioDeviceID
  • From: Jeff Moore <email@hidden>
  • Date: Thu, 20 Dec 2007 12:44:15 -0800

An AudioDeviceID is already an AudioObjectID:

/*!
@typedef AudioDeviceID
@abstract AudioDevice is the base class for all objects that represent an audio device.
@discussion AudioDevice is a subclass of AudioObject. AudioDevices normally contain
AudioStreams and AudioControls, but may contain other things depending on the
kind of AudioDevice (e.g. aggregate devices contain other AudioDevices).
*/
typedef AudioObjectID AudioDeviceID;



On Dec 20, 2007, at 12:39 PM, rickopeacock wrote:

I would like to be able to destroy an aggregate device for a given UID. I can obtain the AudioDeviceID using kAudioHardwarePropertyDeviceForUID, but the base plugin requires a AudioObjectID for kAudioPlugInDestroyAggregateDevice.

I've searched everywhere in the documentation for the next step but can't find anything. Could anyone suggest the easiest way to obtain the neccessary AudioObjectID for a given AudioDeviceID/UID?



--

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: 
 >Obtaining an AudioObjectID from an AudioDeviceID (From: rickopeacock <email@hidden>)

  • Prev by Date: Obtaining an AudioObjectID from an AudioDeviceID
  • Next by Date: Re: Quick question on configuring an AU for a certain channel config
  • Previous by thread: Obtaining an AudioObjectID from an AudioDeviceID
  • Next by thread: AUVal Reported error: kAudioUnitErr_TooManyFramesToProcess
  • Index(es):
    • Date
    • Thread