-   Linux - Software (
-   -   How to pipe the default audio h/w device directly to hw:0,2 (

Erin 04-14-2005 03:17 PM

How to pipe the default audio h/w device directly to hw:0,2
Dear all,

I run a SB!Live card. It has a co-ax out on it. Obviously, the default output port is the most commonly used one which is /dev/dsp or hw:0,0. What I would like to do is directly pipe the audio stream to hw:0,2. The reason for the semi-permenant pipe is because some applications, Ryhthmbox for example, do not seeingly support changing the output.

Google has provided some info as has Alsa's site. Bith suggest using an .asoundrc file and a plug entry. However, this does not work. I cannot get it to pipe directly. Typing "aplay -D plug:0,2 nix.wav" plays the file to hw:0,2 and I can hear it. It doesn't solve the problem though.

I have pasted .asoundrc in to a /etc/asound.conf and my own .asoundrc but nothing changes except aplay now winges (output below).

swallow:/etc# aplay /home/jerry/Utopia.WAV
ALSA lib pcm_dmix.c:1192:(_snd_pcm_dmix_open) Unknown field card
aplay: main:508: audio open error: Invalid argument

I am struggling with this one. Even using aoss doesn't alter anything!

Can anyone please give me any tips, hints or pointer to help my cause. I bet the answer is really simple, just I cannot get it!

Thanks in advance,

foo_bar_foo 04-14-2005 05:35 PM

ok there is something very confusing about this post

you shouldn't have to do this kind of stuff

that's what mixers do

Simple mixer control 'IEC958 Coaxial',0
Simple mixer control 'IEC958 Optical Raw',0
Simple mixer control 'IEC958 TTL',0
Simple mixer control 'SB Live Analog/Digital Output Jack',0
Simple mixer control 'Wave LFE',0

Erin 04-15-2005 05:42 AM

So, correct me if I am wrong, that toggling those to off will force the hw output device to be SPDIF as default for all applications?

Thanks Erin

Erin 04-16-2005 11:55 AM


Toggling 'IEC958 Optical Raw' to off sorted it.

Thanks, Erin

All times are GMT -5. The time now is 04:32 AM.