Spatial Audio on Mac - When and how to render using Audio Units?

I'm working on adding Spatial Audio support to a game on the Mac. I'm looking at the SpatialAudioRenderer sample but having some issues.

  • It's unclear to me when a device is compatible with Spatial Audio and when I should attempt to render Spatial Audio. There is no property that I can find on the Mac that advertises Spatial Audio compatibility on a device.
  • The sample crashes when the output device is a USB device. This includes the Apple Studio Display.
  • The Apple Studio Display is supposed to be capable of rendering Spatial Audio. The device doesn't work with the sample - do I still need to render down the 7.1.4 source on this device? The sample always renders down to Stereo, but the Apple Studio Display is not a Stereo device.

I'm a bit confused by the sample and when/how I should configure the mixing unit.

Spatial Audio on Mac - When and how to render using Audio Units?
 
 
Q