AudioAggregateDevice
public class AudioAggregateDevice : AudioDevice
                A HAL audio aggregate device object
Remark
This class correponds to objects with the base classkAudioAggregateDeviceClassID
- 
                  
                  
Returns the UIDs of all subdevices in the aggregate device, active or inactive
Remark
This corresponds to the propertykAudioAggregateDevicePropertyFullSubDeviceListDeclaration
Swift
public func fullSubdeviceList() throws -> [String] - 
                  
                  
Returns the active subdevices in the aggregate device
Remark
This corresponds to the propertykAudioAggregateDevicePropertyActiveSubDeviceListDeclaration
Swift
public func activeSubdeviceList() throws -> [AudioDevice] - 
                  
                  
Returns the composition
Remark
This corresponds to the propertykAudioAggregateDevicePropertyCompositionDeclaration
Swift
public func composition() throws -> [AnyHashable : Any] - 
                  
                  
Returns the master subdevice
Remark
This corresponds to the propertykAudioAggregateDevicePropertyMasterSubDeviceDeclaration
Swift
public func masterSubdevice() throws -> AudioDevice - 
                  
                  
Returns the clock device
Remark
This corresponds to the propertykAudioAggregateDevicePropertyClockDeviceDeclaration
Swift
public func clockDevice() throws -> AudioClockDevice - 
                  
                  
Sets the clock device
Remark
This corresponds to the propertykAudioAggregateDevicePropertyClockDeviceDeclaration
Swift
public func setClockDevice(_ value: AudioClockDevice) throws - 
                  
                  
Returns
trueif the aggregate device is privateDeclaration
Swift
public func isPrivate() throws -> Bool - 
                  
                  
Returns
trueif the aggregate device is stackedDeclaration
Swift
public func isStacked() throws -> Bool - 
                  
                  
Returns
trueifselfhasselectorinscopeonelementDeclaration
Swift
public func hasSelector(_ selector: AudioObjectSelector<AudioAggregateDevice>, inScope scope: PropertyScope = .global, onElement element: PropertyElement = .master) -> BoolParameters
selectorThe selector of the desired property
scopeThe desired scope
elementThe desired element
 - 
                  
                  
Returns
trueifselectorinscopeonelementis settableThrows
An error ifselfdoes not have the requested propertyDeclaration
Swift
public func isSelectorSettable(_ selector: AudioObjectSelector<AudioAggregateDevice>, inScope scope: PropertyScope = .global, onElement element: PropertyElement = .master) throws -> BoolParameters
selectorThe selector of the desired property
scopeThe desired scope
elementThe desired element
 - 
                  
                  
Registers
blockto be performed whenselectorinscopeonelementchangesThrows
An error if the property listener could not be registeredDeclaration
Swift
public func whenSelectorChanges(_ selector: AudioObjectSelector<AudioAggregateDevice>, inScope scope: PropertyScope = .global, onElement element: PropertyElement = .master, perform block: PropertyChangeNotificationBlock?) throwsParameters
selectorThe selector of the desired property
scopeThe desired scope
elementThe desired element
blockA closure to invoke when the property changes or
nilto remove the previous value 
View on GitHub
        AudioAggregateDevice Class Reference