<div class="gmail_quote">
<div>Thanks for your reply Lennart.</div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im"><span id=""></span><br>> - Does this solution entail any configuration of /etc/asound.conf to link<br>> surroundxx with the HDMI device number? And if this is the case, how<br>> compatible is this with hot-plug (depending on the order in which I plug all<br>
> the audio devices the number could be different).<br><br>Nah. It's just a matter of defining more profiles. I have no HDMI and<br>I have no clue about the channel orders, except for the obvious case:<br>2ch. That's why there is currently only one profile known<br>
"hdmi-stereo". So what's missing is duplicating the current hdmi<br>profile for more channel mappings and that's about it.</div></blockquote>
<div> </div>
<div>Humm, the HDMI protocol uses a different order than the traditional ALSA order (for 6 channels the HDMI order is l,r,lfe,c, rl, rr and for 8 channels just add sl, sr). Also in the multichannel case there are two channels per subpacket, and you can only mark a complete subpacket as invalid, not the individual channels it conveys. Thus I think you can only transmit even number of channels, for odd channels you'd have to add a dummy channel. </div>
<div>But my guess is that this reordering is taken care of in the hardware interface, and most transmitters should reshuffle the channels, good ones do :-). In other words, I think we should only worry about the ALSA order. Additional HDMI profiles would be similar to the surround40 surround51 and surround71 ones then, I am not even sure we'd need new profiles (unless the surroundxx tag identifies an alsa-lib device?)</div>
<div>That's just my understanding of HDMI though. Std disclaimers apply.</div>
<div>Regards</div>
<div>- Pierre<br><br></div></div>