Re: [Alsa-user] Using multiple output sound card

2009-01-28 Thread Ghislain Leveque
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

Re: [Alsa-user] Using multiple output sound card

2009-01-28 Thread Ghislain Leveque
Henrik Enblom a écrit : Changing channels 4 to channels 8 in all slaves should do it, I think, but it's rather strange that you don't get any channel count errors. I now have to find how to setup the 8 outputs... Yes, I managed to do it, I posted the asoundrc file there :

[Alsa-user] Surround over spdif

2009-01-28 Thread Floris
Maybe a simple question, but is it possible to play a 6 channel wav file over a spdif connection? $aplay -L ... iec958:CARD=Audigy2,DEV=0 Audigy 2 ZS [2001], ADC Capture/Standard PCM Playback IEC958 (S/PDIF) Digital Audio Output ... sample file http://www.halfgaar.net/media/chan-id.zip

Re: [Alsa-user] Surround over spdif

2009-01-28 Thread Kyle Husmann
Floris, From what I understand, you can fit only 2 uncompressed audio channels over a spdif connection. In order to handle more channels, it must be compressed and then transferred as a data stream, like DTS or AC3. Kyle On Wed, Jan 28, 2009 at 7:51 AM, Floris jkflo...@dds.nl wrote: Maybe a

Re: [Alsa-user] Surround over spdif

2009-01-28 Thread Floris
Is there a way to encode a file on the fly? I tried the -af lavcac3enc option in mplayer, but I get an error: $mplayer chan-id.wav -ao alsa:device=spdif -af lavcac3enc=1 MPlayer dev-SVN-r26940 CPU: Intel(R) Pentium(R) 4 CPU 3.60GHz (Family: 15, Model: 4, Stepping: 3) CPUflags:

Re: [Alsa-user] Using multiple output sound card

2009-01-28 Thread Eliot Blennerhassett
Ghislain Leveque wrote: # front output (found in the recipe) pcm.out12 { type plug slave { pcm dshare channels 4 } ttable.0.0 1 ttable.1.1 1 } I now have to find how to setup the 8 outputs... I guess you'd need to use channels 8 instead of channels 4

Re: [Alsa-user] Surround over spdif

2009-01-28 Thread Kyle Husmann
Interesting, I don't have that audio filter. Perhaps it isn't compiled into my build of mplayer (ubuntu 8.10, 1.0rc2-4.3.2) Do you have ffmpeg installed? It looks like that may be your problem. Kyle On Wed, Jan 28, 2009 at 9:00 AM, Floris jkflo...@dds.nl wrote: Is there a way to encode a

[Alsa-user] mixing signals

2009-01-28 Thread Daniel
Please, I'm developing an application that receives many independent audio streams from networks to be played simultaneously (voice-conferencing). There is one thread for each network connection that provides the audio samples. The trouble here is that since all the streams are suposed to be

[Alsa-user] broken digital sound again

2009-01-28 Thread James
My digital sound broke again :-( I like Gentoo because it updates alot but I hate it because it breaks my digital sound alot. :-( I am using the 2.6.28.2 kernel and alsa 1.0.19 $ aplay -l List of PLAYBACK Hardware Devices card 0: NVidia [HDA NVidia], device 0: ALC888 Analog [ALC888

Re: [Alsa-user] Surround over spdif

2009-01-28 Thread Clemens Ladisch
Floris wrote: Is there a way to encode a file on the fly? http://wiki.alsa-project.org/main/index.php/A52_plugin HTH Clemens -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your

Re: [Alsa-user] broken digital sound again

2009-01-28 Thread Clemens Ladisch
James wrote: $ speaker-test -D iec958 -c 6 ... Channels count (6) not available for playbacks: Invalid argument S/PDIF does not support uncompressed surround sound; you have to play stereo data (use -c 2) or AC-3/DTS-compressed data. Best regards, Clemens