supportedOutputChannelLayouts
The array of channel layouts that the current route supports.
Declaration
var supportedOutputChannelLayouts: [AVAudioChannelLayout] { get }Discussion
The possible channel layouts for this property are:
This value returns an empty array when the audio session is inactive, ineligible for Now Playing, or the port type isn’t carAudio or, in iOS 18 or later, airPlay.
Use renderingCapabilitiesChangeNotification to listen for updates from the system.