[MPlayer-users] How to setup Alsa and mplayer for AC3 pass through with SB Live on kernel 2.6.8.1?

Martin Bammer e9525103 at student.tuwien.ac.at
Fri Oct 1 19:27:26 CEST 2004


Hi list,
please help me. I've tried a lot but all I get out of the digital output is 
noise. I tried mplayer with:
mplayer film.avi -ao alsa:mmap:device=hw#0.2 -af hwac3,a52,

but all I get is noise.

My /etc/asound.conf:
pcm.card0 {
    type hw
    card 0
}

ctl.mixer0 {
    type hw
    card 0
}

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

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

pcm.dmix0 {
    type dmix
    ipc_key 1025
    slave {
        pcm "hw:0,0"
        period_time 0
        period_size 4096
        buffer_size 16384
        rate 44100
    }
    bindings {
        0 0
        1 1
    }
}

pcm.dsnoop0 {
    type dsnoop
    ipc_key 34522
    slave {
        pcm "card0"
    }
}

pcm.asym0 {
    type asym
    playback.pcm "dmix0"
    capture.pcm "dsnoop0"
}

pcm.pasym0 {
    type plug
    slave.pcm "asym0"
}

Cheers, Martin




More information about the MPlayer-users mailing list