Hello ladies and gentlemen, I'm hoping for some assistance.

I've recently acquired Soundblaster MP3+ and now I'm having a hell of a
time getting dmixer to work properply. 


Here's what's going on right now:

I can have multiple streams going at a time. In particular, I can have
xmms and mplayer using audio. xmms however stops playing after 5-20
seconds. mplayer works fine it seems.

I've tried to use the dmixhowto
(http://alsa.opensrc.org/index.php?page=DmixPlugin) and use aoss to play
an mp3 file with mpg123. It works but the whole file is played in about
5 seconds. The actual mp3 file is over 4 minutes long.

I've attached my .asoundrc below. I suspect that my parameters to dmix
are incorrect (the bufersize etc). Any suggestions on what I should try
to fix the aoss and xmms issues would be apreciated.

-d



pcm.!default {
        type plug
        slave.pcm "dmixer"
}

pcm.dsp1 {
        type plug
        slave.pcm "dmixer"
}

pcm.dsp0 {
        type plug
        slave.pcm "dmixer"
}


pcm.dmixer  {
        type dmix
        ipc_key 1024
        slave {
                pcm "hw:1,0"
                period_time 0
                period_size 1024
                buffer_size 4096        # buffer size < 6653, but pow(x, 2)
                rate 44100    
        }
        bindings {
                0 0
                1 1
        }
}

ctl.mixer1 {
        type hw
        card 1
}

Reply via email to