[MPlayer-dev-eng] [PATCH] many libao2 fixes (resubmit)
Nehal
nehalmistry at gmx.net
Wed Mar 31 09:32:32 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ao2fixes.diff
Type: application/octet-stream
Size: 7585 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040330/eb14e5cf/attachment.obj>
More information about the MPlayer-dev-eng
mailing list