The proposal is to add a property to AVAudioPlayer in support of whole house 
audio. 
AVAudioPlayer is a class within the AVFoundation framework.

@property(copy, nullable) NSString *currentDevice; /* the UID of the current 
device (as a string) */

This allows setting the AVAudioPlayer to play from a specific audio device.
Previously AVAudioPlayer has always played from the default device. Setting 
this property to nil will have it go back to the default device.
The device UID string from can be obtained from the CoreAudio.framework API 
AudioObjectGetPropertyData with property kAudioDevicePropertyDeviceUID.

James McCartney
Apple CoreAudio
[email protected]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to