[MPlayer-users] mplayer alsa output hangs

Kevin DeKorte kdekorte at yahoo.com
Mon Apr 3 03:06:06 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Konstantin Kletschke wrote:
> I used mplayer-1.0_pre7 with an ~/.asoundrc working well:
> 

> 
> This worked very fine. However, gentoo switched to mplayer-1.0.20060302
> now and It seems mplayer does only play audio for a fraction of a second
> (~100ms?) and the hangs.

Konstantin,

Try this one... it is what I used with my i810 device

- ------------ BEGIN .asoundrc
pcm.ossmix {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:0,0"
        period_time 0
        period_size 1024
        buffer_size 4096        # buffer size < 6653, but pow(x, 2)
        rate 44100              # we want to play CDs only

    }

    bindings {
        0 0
        1 1
    }
}

# Everything shall be dmixed, so redefine "default":
pcm.!default {
    type plug
    slave.pcm "ossmix"
}

# OSS via aoss should d(mix)stroyed:
pcm.dsp0 {
    type plug
    slave.pcm "ossmix"
}

ctl.mixer0 {
    type hw
    card 0
}
ctl.mixer0 {
    type hw
    card 0
}
- -------------- END

Kevin

- --
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=7574690260641978351
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEMHT9aR60qN0tF+8RAmPuAJ9M+1XioWlm461ziN0D8lcAsF9w9ACeJoMp
nwNw+KMDNDnP7OGCGxRUutQ=
=kqOe
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list