On Thu, 2006-04-06 at 10:35 +0300, Andras Lorincz wrote:
> Hello,
>  
> I'm using etch and I have installed alsa-base, alsa-oss and
> alsa-utils. These device files are created at boot:
>  
> /dev/dsp0 --> PCI card
> /dev/dsp1 --> Onboard card
> /dev/dsp2 --> TV tuner
>  
> I'm using tvtime (which is oss application). I usually use the PCI
> card but sometimes want to use the onboard. So I tried this way: 
>  
>  - in .asoundrc introduced this:
>  
>    pcm.dsp0 {
>      type hw
>      slave.pcm "hw:1,0"
>    }
>  
>  - launch tvtime like this:
>   
>   aoss tvtime
>  
> But the sound continues to come from the PCI card. I know that it
> works by introducing this in .asoundrc:
>  
>   pcm.!default {
>     type hw
>     card 1
>   }
>  
> But shouldn't it work with the previous solution. Am I missing
> something here?

No, because aoss uses the "default" device, not "dsp0".

Isn't the easiest way to switch to set tvtime to output to /dev/dsp1?

Lee



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to