I'm currently having a lot of trouble trying to get Alsa PCM to do anything other than Stereo/Mono. I'm more than certain the raspberrypi is capable. However I can't seem to find the information I need to get Alsa to run with anything higher than stereo.
amixer shows me this.
osmc@osmc:~$ amixer Simple mixer control 'PCM',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback -10239 - 400 Mono: Playback 120 [97%] [1.20dB] [on]
tvservice -a output
osmc@osmc:~$ tvservice -a PCM supported: Max channels: 8, Max samplerate: 192kHz, Max samplesize 24 bits. AC3 supported: Max channels: 6, Max samplerate: 48kHz, Max rate 680 kb/s. DTS supported: Max channels: 6, Max samplerate: 96kHz, Max rate 1536 kb/s. DTS_HD supported: Max channels: 8, Max samplerate: 192kHz, Max rate 8 kb/s.
I have OSMC installed as my main boot, with RetroPie installed as a program within it. My main goal is to get 5.1 surround to work with Moonlight so I can play Steam games in full surround on my television. However it seems that moonlight uses Alsa which forces it to 2.0 Stereo.
Altho I can get 7.1 surround through Kodi watching a movie. I'm pretty sure thats only because of the passthrough. Can Alsa passthrough the audio? I'm very confused and rather frustrated. So any help is appreciated.
Also I have my pi set up as follows Pi > Sony Receiver > TV through HDMI.
If you need any more information please feel free to ask.