diff options
author | wm4 <wm4@nowhere> | 2014-11-10 20:16:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-10 22:02:05 +0100 |
commit | e094e9cb75f9802d8da07eb75cee4d91c9786558 (patch) | |
tree | 84f6ba161fdcb0515c840ca7dd8db60be681dc65 /wscript_build.py | |
parent | 995a6af78734820007eb8a1ae3b543fd9d9636e1 (diff) | |
download | mpv-e094e9cb75f9802d8da07eb75cee4d91c9786558.tar.bz2 mpv-e094e9cb75f9802d8da07eb75cee4d91c9786558.tar.xz |
audio: change how filters are inserted on playback speed changes
Use a pseudo-filter when changing speed with resampling, instead of
somehow changing a samplerate somewhere. This uses the same underlying
mechanism, but is a bit more structured and cleaner. It also makes some
of the following changes easier.
Since we now always use filters to change audio speed, move most of the
work set_playback_speed() does to recreate_audio_filters().
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py index dfa0d7118b..a2c32494aa 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -114,6 +114,7 @@ def build(ctx): ( "audio/filter/af_equalizer.c" ), ( "audio/filter/af_export.c", "sys-mman-h" ), ( "audio/filter/af_extrastereo.c" ), + ( "audio/filter/af_forcespeed.c" ), ( "audio/filter/af_format.c" ), ( "audio/filter/af_hrtf.c" ), ( "audio/filter/af_karaoke.c" ), |