I want to set up my rp as pulse audio headless network server, using a 5.1 channel configuration over HDMI. I have pulse audio running and "./hello_audio.bin 1 6" as well as "omxplayer --adev hdmi --layout 5.1" work. So far so good.
The showstopper I hit now, is that I do not get Pulseaudio to detect a multi-channel ALSA output device. As far as I understood, this is actually because the ALSA driver does not support multi-channel. Is there a reason for this? Would patching the snd-bcm2835 driver be easy? I saw that ".channels_max = 2" is defined in "bcm2835-pcm.c". Would changing that value be enough?
I'd be really grateful for hints.