On Fri, 26 Mar 2004 13:06:49 +0000
Darrell Blake <[EMAIL PROTECTED]> wrote:

> Is there any way to make a device that you made yourself in .asoundrc 
> the default playing device? I have a lot of games I want to play that 
> only use OSS so I'm having to use OSS emulation which only uses the 
> default device. I have a device called 48000Hz which I defined in 
> .asoundrc thus...
> 
> pcm.48000Hz {
>     type plug
>     slave {
>         pcm "hw:0,0"
>         rate 48000
>     }
>     route_policy default
> }
> 
> Can I make it default?
> 

you can make it the default device for native alsa apps.. see:

http://alsa.opensrc.org/index.php?page=FAQ026

But this won't be of any use for OSS.. The kernel level OSS emu is not
able to access the pcm plugin layer, so it can only be told to use
different hw devices on the soundcard.. see:

http://alsa.opensrc.org/index.php?page=OssEmulation

the aoss script might help [doesn't work with all games though].. see
above page for more info [pcm.dsp0 is your friend]

-- 
kT



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to