On Sun, 29 Feb 2004, wim delvaux wrote:

> hi all,
> 
> I run a debian SID system
> 
> i would like to be able to let xmms, artds, mplayer play sound at the same 
> time.
> 
> I have read and reread and read again the docs on the alsa site regarding dmix 
> e.a. plugins that allow the above to happen.
> 
> I have set up the following asoundrc in my home directory
> 
> pcm.dsp0 {
>     type dmix
>     ipc_key 1024          # must be unique!
>     slave {
>         pcm "hw:0,0"      # you cannot use a "plug" device here, darn.
>         period_time 0
>         period_size 1024  # must be power of 2
>         buffer_size 8192  # dito. It
>         rate 44100
>         #format "S32_LE"
>         #periods 128      # dito.
>         #rate 8000        # with rate 8000 you *will* hear, 
>                           # if ossmix is used :)
>     }
> }
> 
> pcm.dsp1 {
>     type dmix
>     ipc_key 1025          # must be unique!

Change this value to 1026. We use two IPC keys in the plugin.

>     slave {
>         pcm "hw:0,1"      # you cannot use a "plug" device here, darn.
>         period_time 0
>         period_size 1024  # must be power of 2
>         buffer_size 8192  # dito. It
>         rate 44100
>         #format "S32_LE"
>         #periods 128      # dito.
>         #rate 8000        # with rate 8000 you *will* hear, 
>                           # if ossmix is used :)
>     }
> }
> 
> pcm.intel8x0 {
>     type hw
>     card 0
> }
> 
> ctl.intel8x0 {
>     type hw
>     card 0
> }

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to