[MPlayer-dev-eng] [PATCH] another ao_sdl fix

Arpi arpi at thot.banki.hu
Fri Oct 25 12:16:54 CEST 2002


Hi,

> ao_sdl, unlike ao_oss, doesn't notice that my soundcard doesn't handle
> 48000Hz audio (*). So sdl plays the audio at 44100Hz but mplayer believes
> it to be 48000, and the movie plays slower. 
> This is a patch that checks what we obtained in SDL_OpenAudio, which
> allows to build the good audio filter chain.
> 
> Is it ok to commit ?
yes, looks ok for me

> +	if(ao_data.buffersize==-1) ao_data.buffersize=obtained.size;

always set buffersize, it is not set from externally (imho)!


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