[MPlayer-dev-eng] [PATCH] Default blocksize too large for NetBSD/OpenBSD in ao_sun.c
Karim Belbachir
karim at xuthal.net
Mon Feb 6 11:18:58 CET 2006
On Sat, Feb 04, 2006 at 03:02:19PM +0000, Karim Belbachir wrote:
> Fix: force the blocksize to a value smaller than 2000 bytes. 1792 has
> been chosen because it is not rounded down to a lesser value by the
> audio framework and very low values tend to be rejected. DVD are also
> played smoothly without -autosync. This fix has been tested with NetBSD
> but not with OpenBSD.
Well, it seems I lost sight of the general case. It's completely
wrong to have a fixed size buffer as it will cause many interrupts
in some cases. The following should be a proper patch.
Regards,
Karim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_bsd
Type: text/x-patch
Size: 1495 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060206/adca16b9/attachment.bin>
More information about the MPlayer-dev-eng
mailing list