Eliot Blennerhassett a écrit :
What I'm looking at is to be able to play differents sounds to different 
outputs.
    
http://alsa.opensrc.org/index.php/.asoundrc#Splitting_front_and_rear_outputs
  

yes ! thanks for your help

using this recipe, I managed to play on the front OR the rear output. Now i'm trying to play on the "center_lfe" or "side" output.

I tried expanding the recipe like this :

# front output (found in the recipe)
pcm.out12 {
    type plug
    slave {
        pcm "dshare"
        channels 4
    }
    ttable.0.0 1
    ttable.1.1 1
}

# rear output (found in the recipe)
pcm.out34 {
    type plug
    slave {
        pcm "dshare"
        channels 4
    }
    ttable.0.2 1
    ttable.1.3 1
}

# center_lfe output (my try)
pcm.out56 {
    type plug
    slave {
        pcm "dshare"
        channels 4
    }
    ttable.0.4 1
    ttable.1.5 1
}

# side output (my try)
pcm.out78 {
    type plug
    slave {
        pcm "dshare"
        channels 4
    }
    ttable.0.6 1
    ttable.1.7 1
}

but i have no sound and aplay just show 4 lines in the transformation table :

# cat /root/temp.wav | aplay -vD out56
Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Route conversion PCM (sformat=S32_LE)
  Transformation table:
    0 <- none
    1 <- none
    2 <- none
    3 <- none
Its setup is:
  stream       : PLAYBACK
[...]


I now have to find how to setup the 8 outputs...

thanks for your help


-- 
Ghislain LEVEQUE
VegaFrance
http://www.vegafrance.fr
05 34 56 99 78