[MPlayer-dev-eng] [PATCH] autoselect alsa chunk_size

Diego Biurrun diego at biurrun.de
Mon Sep 13 02:35:39 CEST 2004


Attila Kinali writes:
> On Fri, Aug 27, 2004 at 01:27:06PM +0200, Aurelien Jacobs wrote:
>  Here is the first one :
> > Some sound cards don't support the default alsa chunk_size. This patch
> > allow ao_alsa to automatically try the other chunk_size, so that the user
> > don't need to explicitely set it on the commande line.
> 
> +            chunk_size = 512 + 1024 - chunk_size;
> 
> Where do these values come from ?
> This needs to be documented (ie one line of comment)
> 
> Otherwise it looks imho ok.

Zsolt, could you please check and apply this?

Diego




More information about the MPlayer-dev-eng mailing list