From 3b8dfddb4cb6e9431da659b10c5b31a9f17c81b5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 22 Jul 2013 14:43:58 +0200 Subject: audio/filter: use new option API Make the VF/VO/AO option parser available to audio filters. No audio filter uses this yet, but it's still a quite intrusive change. In particular, the commands for manipulating filters at runtime completely change. We delete the old code, and use the same infrastructure as for video filters. (This forces complete reinitialization of the filter chain, which hopefully isn't a problem for any use cases. The old code forced reinitialization too, but it could potentially allow a filter to cache things; e.g. consider loaded ladspa plugins and such.) --- audio/decode/dec_audio.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'audio/decode/dec_audio.h') diff --git a/audio/decode/dec_audio.h b/audio/decode/dec_audio.h index 7a044e2040..b46f4282fb 100644 --- a/audio/decode/dec_audio.h +++ b/audio/decode/dec_audio.h @@ -37,6 +37,4 @@ int init_audio_filters(sh_audio_t *sh_audio, int in_samplerate, int *out_samplerate, struct mp_chmap *out_channels, int *out_format); -extern struct af_cfg af_cfg; - #endif /* MPLAYER_DEC_AUDIO_H */ -- cgit v1.2.3