nibbles, thanks for the quick and thorough response!
Interesting development: I believe the problem stems from when Plex HTPC tries to set the bitrate, whatever it’s doing is not how other apps (PlexAmp, Qobuz) work, and the bitrate it tries to set seems to either “look” OK, or will literally be “null” when viewed in the Audio MIDI Setup app. This also causes all other sound output to the selected device (USB DAC) to fail. Manually setting the bitrate (or playing audio through a different app that sets the bitrate), disabling “Exclusive Audio”, then restarting a stream on Plex HTPC seems to work.
gbooker02 – the DAC supports PCM and DSD up to 384 kHz and up to 24 bit depth. Digging through the logs, it looks like Plex HTPC is trying to use 32 bit audio. This is when trying to play a movie sourced from blu ray, which should have at most 24 bit depth.
Jul 27, 2022 20:07:43.707 [0x30591f000] DEBUG - [MPVEngine/mpv] ao/coreaudio_exclusive: Using substream 0/1.
Jul 27, 2022 20:07:43.707 [0x30591f000] DEBUG - [MPVEngine/mpv] ao/coreaudio_exclusive: our format: 48000.0Hz 32bit mcpl [9][8bpp][1fbp][8bpf][2ch] float LE U packed (float)
Jul 27, 2022 20:07:43.707 [0x30591f000] DEBUG - [MPVEngine/mpv] ao/coreaudio_exclusive: - 384000.0Hz 24bit mcpl [4][8bpp][1fbp][8bpf][2ch] int LE S (-)
(continues listing supported formats)
When playing music through Plex HTPC, it recognizes the correct bitrate & depth per the file, which is supported by my DAC, but still fails to set it (this is using Exclusive mode)
Jul 28, 2022 22:07:59.386 [0x30e96c000] DEBUG - [MPVEngine/mpv] ao/coreaudio_exclusive: virtual format 48000.0Hz 24bit mcpl [68][8bpp][1fbp][8bpf][2ch] int LE S (-)
Jul 28, 2022 22:07:59.386 [0x30e96c000] ERROR - [MPVEngine/mpv] ao/coreaudio_exclusive: hardware format not supported
Jul 28, 2022 22:07:59.386 [0x30e96c000] ERROR - [MPVEngine/mpv] ao: Failed to initialize audio driver 'coreaudio'
Using other apps like PlexAmp and Qobuz are able to interact with it no problem, so I think this is purely a Plex HTPC issue. It’s new, and the Plex team can’t test every hardware combination out there, so that’s understandable. Hopefully it can be fixed, but there is a workaround noted above that will work for now.
EDIT: I’ll also note that the supported formats the DAC is advertising to Plex HTPC in the logs matches what the DAC can actually support (also mirrored in Audio MIDI Setup), at no point does it pretend like it does 32 bit audio.