mpv/audio/filter
wm4 89bc2975e9 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.)
2015-03-02 19:09:44 +01:00
..
af.c audio: change playback speed directly in resampler 2015-03-02 19:09:44 +01:00
af.h af: remove old filter compatibility hack 2015-01-15 20:13:15 +01:00
af_bs2b.c audio/filter: switch remaining in-place filters to refcounting 2015-01-15 20:13:12 +01:00
af_center.c audio/filter: switch remaining in-place filters to refcounting 2015-01-15 20:13:12 +01:00
af_channels.c audio/filter: switch remaining filters to refcounting 2015-01-15 20:13:14 +01:00
af_convert24.c af_convert24: use refcounted frames 2015-01-13 20:17:08 +01:00
af_convertsignendian.c audio/filters: use refcounted frames for some in-place filters 2015-01-13 20:17:03 +01:00
af_delay.c audio/filter: switch remaining in-place filters to refcounting 2015-01-15 20:13:12 +01:00
af_drc.c audio/filters: use refcounted frames for some in-place filters 2015-01-13 20:17:03 +01:00
af_dummy.c audio/filters: use refcounted frames for some simple filters 2015-01-13 20:16:59 +01:00
af_equalizer.c audio/filters: use refcounted frames for some in-place filters 2015-01-13 20:17:03 +01:00
af_export.c audio/filters: use refcounted frames for some simple filters 2015-01-13 20:16:59 +01:00
af_extrastereo.c audio/filter: switch remaining in-place filters to refcounting 2015-01-15 20:13:12 +01:00
af_format.c audio/filters: use refcounted frames for some simple filters 2015-01-13 20:16:59 +01:00
af_hrtf.c audio/filter: switch remaining filters to refcounting 2015-01-15 20:13:14 +01:00
af_hrtf.h Kill all tabs 2014-04-13 18:03:01 +02:00
af_karaoke.c audio/filter: switch remaining in-place filters to refcounting 2015-01-15 20:13:12 +01:00
af_ladspa.c audio/filter: switch remaining in-place filters to refcounting 2015-01-15 20:13:12 +01:00
af_lavcac3enc.c af_lavcac3enc: use refcounted frames 2015-01-14 22:16:30 +01:00
af_lavfi.c af_lavfi: use refcounted frames 2015-01-14 22:15:56 +01:00
af_lavrresample.c audio: change playback speed directly in resampler 2015-03-02 19:09:44 +01:00
af_pan.c audio/filter: switch remaining filters to refcounting 2015-01-15 20:13:14 +01:00
af_rubberband.c af_rubberband: actually fix deadlock 2015-02-12 10:15:12 +01:00
af_scaletempo.c af_scaletempo: allow changing speed at runtime without reinit 2015-02-10 22:34:07 +01:00
af_sinesuppress.c audio/filter: switch remaining in-place filters to refcounting 2015-01-15 20:13:12 +01:00
af_sub.c audio/filter: switch remaining in-place filters to refcounting 2015-01-15 20:13:12 +01:00
af_surround.c audio/filter: switch remaining filters to refcounting 2015-01-15 20:13:14 +01:00
af_sweep.c audio/filter: switch remaining in-place filters to refcounting 2015-01-15 20:13:12 +01:00
af_volume.c af_volume: use refcounted frames 2015-01-13 20:15:53 +01:00
dsp.h Kill all tabs 2014-04-13 18:03:01 +02:00
equalizer.h Kill all tabs 2014-04-13 18:03:01 +02:00
filter.c Kill all tabs 2014-04-13 18:03:01 +02:00
filter.h Kill all tabs 2014-04-13 18:03:01 +02:00
tools.c Kill all tabs 2014-04-13 18:03:01 +02:00
window.c Kill all tabs 2014-04-13 18:03:01 +02:00
window.h