mpv/audio/filter
wm4 81d8c5d519 af_scaletempo: allow changing speed at runtime without reinit
Staring at the code a bit, it turns out that changing speed without
losing state is quite easy. The initialization code is big and
complicated, but most of it is specific only to the configured audio
format, not the speed.

Refactor the code so that changing speed at runtime could work. (It's
not actually used yet - the player code still does a complete reinit.
This will be fixed in the next commit.)

The "if (s->speed_tempo == s->speed_pitch)" looks a bit strange, but
does the same thing as the code did before: speed can be changed only if
exactly one flag is set. If both are set or none, speed can't be
changed.
2015-02-10 22:34:07 +01:00
..
af.c af: remove old filter compatibility hack 2015-01-15 20:13:15 +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_forcespeed.c audio/filters: use refcounted frames for some simple filters 2015-01-13 20:16:59 +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
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 af_lavrresample: use refcounted frames 2015-01-14 22:15:31 +01:00
af_pan.c audio/filter: switch remaining filters to refcounting 2015-01-15 20:13:14 +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
equalizer.h
filter.c
filter.h
tools.c
window.c
window.h