Re: Obtaining an AudioObjectID from an AudioDeviceID
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