“input” element defaults to the default backend of the particular platform. Thus “alsa” on Linux, “coreaudio” on macOS and “wasapi” on Windows. If you want to refer to a NAA, you need to tell that the input you are talking about is a NAA backend input.
So you have “network” and “network6” options. Former is IPv4 and latter IPv6. Whenever possible, I recommend using IPv6.
Someone tested it and it sort of works, but it seems to be buggy at iOS side. So the sample rate it happens to use depends on what has been played earlier.
If something can send it DoP encoded, then it should theoretically work. Although only really tested through direct HQPlayer inputs and not yet through NAA inputs. DSD64 can go over optical/coaxial S/PDIF since it needs only 176.4k PCM as carrier.
@rhqp looks like back in 2022 I tried to do this with RME , doing the same thing , DoP64 over TOSlink and had the same issues. First it was over NAA and then I connected the RME direct to HQP Embedded Server and same issue.
Good to know that this hasn’t been working for long.
Let’s see when @jussi_laako has time to check a DSD64 stream through NAA input. As he has mentioned, it’s at 176.4K PCM bandwidth as DoP, so could be a NAA bug or configuration issue?
Atmos 2.0 works. I guess that is it. It (the 2.0) must work since it is required for Atmos on Headphones.
I don’t think Atmos 5.1 works, since there is no interface to “configure speakers” in Midi app on iPad as it can be done on MacOS. But i had my hope high.
I tried another approach:
Apple Music => BlackHole (+ LosslessSwitcher) => HQPd => Merging Hapi => speakers
Sample rate switching seems working. Not perfectly, because i have a stutter for 2-3 initial seconds while SR switch is in progress, but for “album mode listening” it is passable.
The screenshot is not perfect because HQPd input and output are the same 96k, but you have to believe me, it works.
That is not ideal solution for me. I did not want to run HQPd on Mac. Apple Music supposed to output 6 channels to OS NAA so i can use HQPd on remote host.
I hope Miska will get to the bottom of that and will figure out / tell me, why OS NAA can handle 2-channels (stereo) only in my case.
I don’t think it is going to work without some work. Either at HQPlayer or NAA side, or both. I’ve had it working for ages with direct HQPlayer input, but the NAA part was only tested briefly at some point. I have not paid much attention to it, since practically nobody has been using it.
When it’s working, the input format should be stated for example as 2.8M/1 and not something like 24-bit.
Yes, it is RPI4 with NAA OS. It works from Ipad and Mac, but only for 2 channels.
When i get back home tonight i will look at networkaudiod.xml, if there are any “channel” parameters in there. Thank you for suggestion.
This way has no issue for Apple Music Atmos. Please check your BlackHole is 16ch or 64ch version. Both can assign 5.1.2 or 7.1.4 channels output.
Please change the Dolby Atmos to “Automatic” in Music app’s setting. It’ll decode and channel mapping to your speaker layout setting in Audio MIDI Setup.
I don’t have any issues with this playing Atmos to my 5.1 speakers (except for 2-3 sec stutter when sample rate switch occurs.
There is no NAA OS involved here.
Setup in this scenario is:
[ Apple Music on Mac → BlackHole (+ LosslessSwitcher) → HQPd on Mac → MAD ASIO] => [ Merging Hapi ] => [ 5.1 speakers ]
No. I run NAA OS on RPi4 with enabled “USB slave device” and connected from Mac over USB-C-to-USB-C cable.
I have problem with such setup:
[ Apple Music on Mac → Playback Inactive (seen as 2 outs in Midi settings no matter what i do) ] => [ NAA OS on RPI4 (with USB Audio input configured to 2 channels as well as configured to 6 channels) ] => [ HQPd on Windows ]
Whatever i set up in networaudiod.xml on RPi4 (= 2 channel or 6 channel input device), the “Playback Inactive” device is presented in MacOS’ “Audio Midi setup” as 2 channel device.
The USB audio protocol of RPi’s gadget mode is V1.0. It will be recognized as 2ch device on Mac. So the Audio MIDI Setup won’t show other speaker layout options. Best way is to run networkaudiod on Mac and use BlackHole 16ch to trigger DD+ decode.