Re: Terratec Aureon 5.1 USB MK.2 and digital out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
> > $ speaker-test -c6 -Dspdif:1> >> > speaker-test 1.0.11>> See http://alsa.opensrc.org/DigitalOut, for syntaxNot 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 #0Karte 0: Intel [HDA Intel], Gerät 1: AD198x Digital [AD198x Digital]  Untergeordnete Geräte: 1/1  Untergeordnetes Gerät '0: subdevice #0Karte 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:1Stream parameters are 48000Hz, S16_LE, 6 channelsUsing 16 octaves of pink noiseSamplingrate auf 48000Hz gesetzt (gefordert waren 48000Hz)Buffer size range from 96 to 87381Period size range from 48 to 43690Using max buffer size 87381Periods = 4was set period_size = 0was set buffer_size = 87381Unable to set sw params for playback: Invalid argumentSetzen 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.htmlI 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 digitalStream parameters are 48000Hz, S16_LE, 6 channelsUsing 16 octaves of pink noiseALSA lib pcm.c:6661:(snd_pcm_slave_conf) missing field formatPlayback 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 digitalStream parameters are 48000Hz, S16_LE, 6 channelsUsing 16 octaves of pink noiseSample format not available for playback: Invalid argumentSetzen der Hardwareparameter gescheitert: Invalid argument
According to this page:http://alsa.opensrc.org/Terratec_Aureon_5.1_USB_MK.2this 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 ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys-and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________Alsa-user mailing listAlsa-user@xxxxxxxxxxxxxxxxxxxxxxxxxx://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux