diff options
author | wm4 <wm4@nowhere> | 2015-03-02 19:09:44 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-02 19:09:44 +0100 |
commit | 89bc2975e951e2a20aa2d02bdb34cc268bb5c5cd (patch) | |
tree | 83db6ea5a95004fc448aa24a9af4fad7ecceac83 /old-makefile | |
parent | d0fee0ac33a02e3dcb6c4b27b554be70e6b64e7a (diff) |
audio: change playback speed directly in resampler
Although the libraries we use for resampling (libavresample and
libswresample) do not support changing sampelrate on the fly, this makes
it easier to make sure no audio buffers are implicitly dropped. In fact,
this commit adds additional code to drain the resampler explicitly.
Changing speed twice without feeding audio in-between made it crash
with libavresample inc ertain cases (libswresample is fine). This is
probably a libavresample bug. Hopefully this will be fixed, and also I
attempted to workaround the situation that crashes it. (It seems to
point in direction of random memory corruption, though.)
Diffstat (limited to 'old-makefile')
-rw-r--r-- | old-makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/old-makefile b/old-makefile index 08ab079d06..b9fbbaaa50 100644 --- a/old-makefile +++ b/old-makefile @@ -134,7 +134,6 @@ SOURCES = audio/audio.c \ audio/filter/af_equalizer.c \ audio/filter/af_export.c \ 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 \ |