[LAU] asoundrc question

Arnold Krille arnold at arnoldarts.de
Wed Sep 10 16:00:12 EDT 2008


Hi,

Am Mittwoch, 10. September 2008 schrieb Dave Phillips:
> Is it possible to create a fake mixer in .asoundrc in order to fool Java
> into thinking my Delta 66 has an on-board mixer ?
> An example would be most helpful. :)

This will make the first soundcards-mixer the default:

ctl.default {
    type hw
    card 0
}

This makes the second soundcards pcm-device the default:

pcm.default {
    type hw
    card 1
}

So you get an alsa default device which puts the sound to the second hardware 
while using the first hardwares mixer for the apps that "need" a mixer.
Of course you can change the numbers. Might even point to a mixer of a virtual 
soundcard afaik.

Have fun,

Arnold
-- 
visit http://www.arnoldarts.de/
---
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a "rm -rf /". Or ask your 
administrator to do so...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20080910/29e4cb69/attachment.pgp 


More information about the Linux-audio-user mailing list