From e094e9cb75f9802d8da07eb75cee4d91c9786558 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 10 Nov 2014 20:16:25 +0100 Subject: 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(). --- wscript_build.py | 1 + 1 file changed, 1 insertion(+) (limited to 'wscript_build.py') 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" ), -- cgit v1.2.3