mirror of https://github.com/mpv-player/mpv
a655984828
ao_null accepts float input, but the code calculating ao_data.bps only checked for 1-byte formats and used samplesize 2 for everything else. Because ao_null uses the bps value in its timing calculations this effectively made "playback" advance at half the correct speed. Fixed by calculating samplesize with af_fmt2bits() instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25223 b3059339-0415-0410-9bf9-f77b7e298cf2 |
||
---|---|---|
.. | ||
Makefile | ||
ao_alsa.c | ||
ao_alsa5.c | ||
ao_arts.c | ||
ao_dsound.c | ||
ao_dxr2.c | ||
ao_esd.c | ||
ao_ivtv.c | ||
ao_jack.c | ||
ao_macosx.c | ||
ao_mpegpes.c | ||
ao_nas.c | ||
ao_null.c | ||
ao_openal.c | ||
ao_oss.c | ||
ao_pcm.c | ||
ao_pulse.c | ||
ao_sdl.c | ||
ao_sgi.c | ||
ao_sun.c | ||
ao_v4l2.c | ||
ao_win32.c | ||
audio_out.c | ||
audio_out.h | ||
audio_out_internal.h |