> Is it the normal behaviour, or did I miss something ?
> Is there a way to convert eac3 => ac3 for delivering 5.1 stream through the
> spdif output ?
> 
> Regards.
> Karim
> 

hello,

with alsa-plugins and a52 you can have more than 2 channels on spdif

sound is encoded in dolby on-the-fly and send to the spdif.

configuration is in ~/.asoundrc 

There is many exemples on the net

It's not perfect but that work. 



Jose Alberto , what is the purpose to your patch ?