[MPlayer-dev-eng] [PATCH] many libao2 fixes (resubmit)

Nehal nehalmistry at gmx.net
Thu Apr 1 20:36:46 CEST 2004


> note: i've submitted before with no reply, so this is a
> resubmission, also has some improvements to previous patch. 
> 
> this patch fixes the following:
> - ao_oss.c , SNDCTL_DSP_RESET is sent to sound card, this should
> be SNDCTL_DSP_SYNC otherwise the remaining buffers don't play
> - ao_win32.c , volume is reset to value before mplayer was
> started, this is annoying and unnecessary, removed
> - ao_win32.c , made get_space() more efficient
> - ao_win32.c , fixed buffer bug that could (under rare
> circumstances) cause a crash
> - ao_win32.c , uninit() doesn't wait until remaining buffers
> play- ao_sdl.c , uninit() doesn't wait until remaining buffers
> play- ao_sdl.c , made get_space() more efficient
> - ao_sdl.c , buffer underruns on many systems so changed default
> sample size to 2048
> - ao_sdl.c , volume get/set control was wrong
> - ao_sdl.c , data was mixed onto itself, causing distored sound
> 
> Nehal
> 
as per request, i have made some changes (removed any cosmetic
changes to make patch easier to read) here it is again

Nehal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ao2fixes-revision2.diff
Type: application/octet-stream
Size: 6430 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040401/7a236647/attachment.obj>


More information about the MPlayer-dev-eng mailing list