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

Attila Kinali attila at kinali.ch
Sat Sep 11 11:51:48 CEST 2004


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.

			Attila Kinali




More information about the MPlayer-dev-eng mailing list