diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-01 06:52:32 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-01 06:52:32 +0000 |
commit | aa657df525afced0ebaf6b921e009bd6a01d7330 (patch) | |
tree | aec612611b7e3147c5b3cb85c2982d9f6312ad04 /libaf/af.c | |
parent | 6338c068a2f85dce3b4dee4c89c2047c8dbe5be2 (diff) | |
download | mpv-aa657df525afced0ebaf6b921e009bd6a01d7330.tar.bz2 mpv-aa657df525afced0ebaf6b921e009bd6a01d7330.tar.xz |
Make output samplerate independent of -speed
The samplerate requested from the audio out depended on the initial
value of playback speed on startup. Changing speed later at runtime
does not affect output samplerate; audio is always resampled instead.
Change the init code so that speed does not affect the samplerate
requested and behavior matches what you'd get by starting the file
with speed 1 and then changing it.
The previous behavior could be desirable when using a constant speed
value. However it means that if you start with a low speed and later
switch to normal speed then audio will be resampled to a low output
frequency. You can still use -srate to explicitly select the frequency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24923 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/af.c')
0 files changed, 0 insertions, 0 deletions