[MPlayer-dev-eng] Re: BUG! Fwd: [MPlayer-users] bugreport: alsa9 ... desync
Arpi
arpi at thot.banki.hu
Mon Oct 7 12:36:05 CEST 2002
Hi,
> Arpi wrote:
> > someone please fix ao_alsa9's ao_data parameters
>
> Couldn't sleep so here it is 8-)
:)
> - ao_data.bps = channels; /* really this is bytes per frame so bad
> varname */.
> + ao_data.bps = channels * rate_hz;.
imho it's true only for 8bit mode!?
ao_data.bps is bytes per second.
> + bytes_per_sample = ao_data.bps / ao_data.samplerate;.
will be always 1
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list