Mercurial > mplayer.hg
view libao2/audio_plugin_internal.h @ 8350:9e045c59ffb8
OK, I think I found why the alsa9 driver was breaking surround sound.
ALSA returns the buffer size in _frames_, not bytes, so multiplying by
bytes_per_sample is needed.
patch by Tom Lees <tal26@cam.ac.uk>
author | arpi |
---|---|
date | Wed, 04 Dec 2002 22:01:59 +0000 |
parents | bb1d608c73ae |
children | 12b1790038b0 |
line wrap: on
line source
// prototypes: static int control(int cmd,int arg); static int init(); static void uninit(); static void reset(); static int play(); #define LIBAO_PLUGIN_EXTERN(x) ao_plugin_functions_t audio_plugin_##x =\ {\ &info,\ control,\ init,\ uninit,\ reset,\ play,\ };