Trying nightly_20200708 with an Odroid C4 and HiFi Shield+, it is working!
There are some differences, though, compared with the behavior of the release CE on Odroid C2. Let me explain how I have that setup first…
With ALSA: AML-M8AUDIO, HDMI as the selected audio device, setup for 5.1 channels with all available bypass choices enabled, the Odroid C2 is always
- sending 2.0 audio to the optical S/PDIF output of the shield, and
- sending 2.0 audio to the analog (RCA) output of the shield, and
- sending audio (2.0 or greater) to the HDMI output (which is connected to an AVR) for both bypass (movies) and multi-channel audio files.
Significantly, for multi-channel (5.1) flac playback, the HDMI output gets 5.1 audio and the S/PDIF and RCA outputs appear to get downmixed 2.0 audio. (Well, I haven’t actually verified whether they get a stereo downmix or just the left and right channels from the multi-channel flac. They do continue to get something, though.)
Ok, now to the behavior of the nightly build…
-
With ALSA: AUGESOUND, HDMI or HDMI Multi Ch selected, audio is only going to HDMI. Nothing appears to be reaching the S/PDIF or the RCA outputs.
-
With ALSA: AUGESOUND, S/PDIF selected, audio is reaching the optical S/PDIF and HDMI, and not the RCA outputs.
-
With ALSA: AUGESOUND, PCM selected, 2.0 audio is reaching both the optical S/PDIF and RCA outputs. The behavior of HDMI audio is a bit odder, though. Bypass audio (a DTS track from a movie) gets sent (all channels) to HDMI, but multi-channel flac is not. Multi-channel flac appears to only be sent to HDMI as 2.0 audio, independent of whether Kodi is setup as 2.0 or 5.1.
So, the HiFi shield is definitely alive and working in the recent nightly builds.
I don’t know if the behavior differences described above are all as intended (just due to changes from the last-released CE and C2 versus C4 changes) or if it’s still a work in-progress.
The existing behavior for the Odroid C2 – in which all outputs get something meaningful and both multi-channel audio and bypass audio gets to HDMI – is pretty ideal.
Thanks!
Matt
Note 1: I think there was some difference in behavior between selecting the default choice versus the AUGESOUND, PCM option, but I didn’t keep good enough notes on that topic. I can repeat experiments there if it would be useful.
Note 2: I should probably also note that it’s a HiFi Shield2 currently connected to the older Odroid C2. I didn’t want to disassemble that unit until things were healthier for the C4. I can do so if the change in boards would trigger different behavior.
EDITS: notes