The unique identifier of the output device used to play audio.
- macOS 10.13+
The default value of this property is
nil, which indicates the use of the default audio device. Otherwise, set the value to an
NSString containing the unique identifier of the Core Audio output device to use for audio output.
k is a suitable source of audio output device unique IDs.
Modifying this property while the timebase's rate is not
0may cause the rate to briefly change to
On macOS, you can use the audio device clock as the
AVSample and all attached
AVQueued timebase clocks. If you modify the
audio, the clocks of all these timebases may also change.
If you attach multiple renderers with different values for
audio to the same buffer renderer synchronizer, audio may not stay in sync during playback. To avoid this, ensure that all synchronized sample buffer renderers are using the same audio output device.