diff options
author | wm4 <wm4@nowhere> | 2015-09-03 23:55:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-03 23:55:36 +0200 |
commit | 091bfa3abf2f28b37fa12cca6b4c248c31d27965 (patch) | |
tree | f5406c1b373ed91a914712e3c0d25076449df123 /audio/audio.h | |
parent | e1fbd3b790b5fe1ae6efc1dd0477c2da88a5b8dc (diff) | |
download | mpv-091bfa3abf2f28b37fa12cca6b4c248c31d27965.tar.bz2 mpv-091bfa3abf2f28b37fa12cca6b4c248c31d27965.tar.xz |
audio/filter: remove some useless filters
All of these filters are considered not useful anymore by us. Some have
replacements in libavfilter (useable through af_lavfi).
af_center, af_extrastereo, af_karaoke, af_sinesuppress, af_sub,
af_surround, af_sweep: pretty simple and useless filters which probably
nobody ever wants.
af_ladspa: has a replacement in libavfilter.
af_hrtf: the algorithm doesn't work properly on most sources, and the
implementation was buggy and complicated. (The filter was inherited from
MPlayer; but even in mpv times we had to apply fixes that fixed major
issues with added noise.) There is a ladspa filter if you still want to
use it.
af_export: I'm not even sure what this is supposed to do. Possibly it
was meant for GUIs rendering audio visualizations, but it couldn't
really work well. For example, the size of the audio depended on the
samplerate (fixed number of samples only), and it couldn't retrieve the
complete audio, only fragments. If this is really needed for GUIs, mpv
should add native visualization, or a proper API for it.
Diffstat (limited to 'audio/audio.h')
-rw-r--r-- | audio/audio.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/audio.h b/audio/audio.h index a0ecb2d7bf..bf5358274a 100644 --- a/audio/audio.h +++ b/audio/audio.h @@ -46,7 +46,6 @@ struct mp_audio { void mp_audio_set_format(struct mp_audio *mpa, int format); void mp_audio_set_num_channels(struct mp_audio *mpa, int num_channels); -void mp_audio_set_channels_old(struct mp_audio *mpa, int num_channels); void mp_audio_set_channels(struct mp_audio *mpa, const struct mp_chmap *chmap); void mp_audio_copy_config(struct mp_audio *dst, const struct mp_audio *src); bool mp_audio_config_equals(const struct mp_audio *a, const struct mp_audio *b); |