Hi, > > $ speaker-test -c6 -Dspdif:1 > > > > speaker-test 1.0.11 > > See http://alsa.opensrc.org/DigitalOut, for syntax Not sure, what should be wrong with my syntax...
But maybe some more information: $ aplay -l **** Liste von PLAYBACK Geräten **** Karte 0: Intel [HDA Intel], Gerät 0: AD198x Analog [AD198x Analog] Untergeordnete Geräte: 1/1 Untergeordnetes Gerät '0: subdevice #0 Karte 0: Intel [HDA Intel], Gerät 1: AD198x Digital [AD198x Digital] Untergeordnete Geräte: 1/1 Untergeordnetes Gerät '0: subdevice #0 Karte 1: Audio [USB Audio], Gerät 0: USB Audio [USB Audio] Untergeordnete Geräte: 1/1 Untergeordnetes Gerät '0: subdevice #0 So unlike the above mentioned website, this soundcard has no special device for the digital output... (The Intel stuff is the internal soundcard and modem) with no .asoundrc : $ speaker-test -c2 -Dhw:1 This works fine, sound on both speakers. $ speaker-test -c6 -Dhw:1 speaker-test 1.0.11 Das Wiedergabegerät ist hw:1 Stream parameters are 48000Hz, S16_LE, 6 channels Using 16 octaves of pink noise Samplingrate auf 48000Hz gesetzt (gefordert waren 48000Hz) Buffer size range from 96 to 87381 Period size range from 48 to 43690 Using max buffer size 87381 Periods = 4 was set period_size = 0 was set buffer_size = 87381 Unable to set sw params for playback: Invalid argument Setzen der Softwareparameter gescheitert: Invalid argument So this does not work. Now I create a .asoundrc with: pcm.dmix51 { type dmix ipc_key 1024 ipc_key_add_uid false ipc_perm 0666 slave { pcm "hw:1,0" channels 6 period_time 0 period_size 1024 buffer_size 8192 } } pcm.corr { type route slave.pcm "dmix51" slave.channels 6 ttable.0.0 1 ttable.1.1 1 ttable.2.5 1 ttable.3.4 1 ttable.4.2 1 ttable.5.3 1 } $ speaker-test -c6 -Dcorr Now I get sound on all speakers (and using the corr device also on the correct speaker) But still only through the analog output. Here: http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html I found, that there is a IEC958 plugin, which is, as far as I know, another name for spdif? pcm.digital { type iec958 slave { pcm "hw:1,0" } } This gives me errors: $ speaker-test -c6 -Ddigital speaker-test 1.0.11 Das Wiedergabegerät ist digital Stream parameters are 48000Hz, S16_LE, 6 channels Using 16 octaves of pink noise ALSA lib pcm.c:6661:(snd_pcm_slave_conf) missing field format Playback open error: -22,Invalid argument So I tried to add a format field: pcm.digital { type iec958 slave { pcm "plughw:1,0" format "S16_LE" } } But still no luck: $ speaker-test -c6 -Ddigital speaker-test 1.0.11 Das Wiedergabegerät ist digital Stream parameters are 48000Hz, S16_LE, 6 channels Using 16 octaves of pink noise Sample format not available for playback: Invalid argument Setzen der Hardwareparameter gescheitert: Invalid argument According to this page: http://alsa.opensrc.org/Terratec_Aureon_5.1_USB_MK.2 this card has 16Bit, so S16_LE should be correct??? There is not much documentation what formats exist, I only found S32_LE. But that changes nothing. Any Ideas? Stephan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user