[ltp] sound card mixing

Ari Pollak linux-thinkpad@linux-thinkpad.org
Tue, 23 Dec 2003 14:07:06 -0500


Putting that in my asound.conf shows no different behavior on my T41.

flokno wrote:
> i have it working with kernel 2.6.0 on my r40 - i810 with
> 
> flokno@lap flokno $ cat /etc/asound.conf
> pcm.!default {
>     type plug
>     slave.pcm "dmixer"
> }
> 
> pcm.dsp0 {
>     type plug
>     slave.pcm "dmixer"
> }
> 
> pcm.dmixer  {
>     type dmix
>     ipc_key 1024
>     slave {
>         pcm "hw:0,0"
>         period_time 0
>         period_size 1024
>         buffer_size 8192
>         #periods 128
>         rate 44100
>     }
>     bindings {
>         0 0
>         1 1
>     }
> }
> 
> ctl.mixer0 {
>     type hw
>     card 0
> }
> 
> mixes fine with kde and xmms or centericq and mplayer and stuff.
> don't ask my where i got the above snippet.
> 
> On Tue, 2003-12-23 at 18:25, Steve Krulewitz wrote:
> 
>>Another option is to use alsa's dmix plugin:
>>
>>http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php3#softmix
>>
>>but I could never get this to work ;)
>>
>>cheers,
>>-steve
> 
>