At Thu, 06 Apr 2006 11:46:19 -0400,
Lee Revell wrote:
>
> 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"
> > }
A syntax error. Maybe you want "type plug" instead?
> > - 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".
"dsp0" is first referred, then "default" is used as the fallback if
dsp0 is not available.
Takashi
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user