Sorry for hijacking the thread with my issue,
I've followed this great tutorial and got a setup working, but I'm stuck with a frustrating problem which I think comes from my TV rather than the soundcard/raspberry pi.
Disclaimer, I live in Japan and my reading comprehension is not the best, so I don't get all the nuances of the TV's menu.
I am using a raspberry pi 4B connected to a Sound Blaster X-Fi HD.
The problem is: I can't successfully decode the audio from the TV.
- If I connect the toslink out of my TV to my amp (Yamaha a-s301) directly, I get sound.
- if I connect my PS4 or something to the X-Fi HD I get sound through CamillaDSP
- if I connect the toslink out of my TV to the X-Fi (with the same PS5 signal going through HDMI) there's a little pop and then no sound at all (CamillaDSP works but the input is -infinity dBFS).
I'm suspecting that the audio format on the Toslink connection is not being decoded correctly. I tried S16LE and S24LE, as well as different bitrates but no luck.
On my TV's manual (all in Japanese, it's a Japanese MaxZen brand), it says that you can configure the output of the digital audio as "auto, PCM or bitstream". They explain that auto will play AAC or PCM depending on the output device capabilities, PCM will just output PCM and bitstream will just play whatever is on the HDMI (passthrough?). They don't say anything about sample rate.
However when I go in the submenus, that digital output submenu is only available on the TV source and not on the HDMI sources. On the latter there is another submenu instead which let's me choose the "HDMI mode" between digital or analog.
I tried a combination of these different options but couldn't figure it out at all. With the "analog" option I get a bit of noise in the camillaDSP vu-metre but that's all...
Now I'm not experienced with TVs at all, never had a TV at home in my 29 years of existence until now, so maybe I'm missing something obvious.
Do these submenus ring a bell to any of you? Any way I could get that TV sound to get through my CamillaDSP?
I did get a HDMI extractor but the advantage of the TV is that I can just plug the PS4 and AppleTV and get switching between both sounds, without having to get am external switcher.