Josef “Jeff” Sipek

Let there be asound!

Finally, almost after a year of having my laptop which has a soundcard that cannot handle other audio output streams if artsd decides to monopolize it, I got fed up and decided to set up dmix. Let me tell you, ALSA RULEZ!!!!!11!!!!oneone

Here’s what I had to do…I created a file  /.asoundrc and put in this:

pcm.ossmix {
    type dmix
    ipc_key 1024
    slave {
            pcm "hw:0,0"
            period_time 0
            period_size 1024
            buffer_size 8192
    }
    bindings {
            0 0
            1 1
    }
}
pcm.!default {
    type plug
    slave.pcm "ossmix"
}
pcm.dsp0 {
    type plug
    slave.pcm "ossmix"
}
ctl.mixer0 {
    type hw
    card 0
}

That’s it! Now I can play music, have Gaim warn on me, and terminals can beep on me all at the same time. Now..who says Linux isn’t ready for desktop?

1 Comments »

  1. Desktop? But that's a laptop! :)

    Comment by obiwan — May 28, 2005 @ 01:54

Atom feed for comments on this post.

Leave a comment

Powered by blahgd