summaryrefslogtreecommitdiffstats
path: root/audio/filter/control.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-28 22:35:54 +0100
committerwm4 <wm4@nowhere>2013-04-13 04:21:28 +0200
commitbc268b313e3764ff192f9adb28c5735a6241224a (patch)
tree9f1de20bc954ebbb8f72d32277d390be38443b79 /audio/filter/control.h
parent41aefce730efd7da6068b7f61697c65759cd3f84 (diff)
downloadmpv-bc268b313e3764ff192f9adb28c5735a6241224a.tar.bz2
mpv-bc268b313e3764ff192f9adb28c5735a6241224a.tar.xz
audio: remove float processing option
The only thing this option did was changing the behavior of af_volume. The option decided what sample format af_volume would use, but only if the sample format was not already float. If the option was set, it would default to float, otherwise to S16. Remove use of the option and all associated code, and make af_volume always use float (unless a af_volume specific sub-option is set). Silence maximum value tracking. This message is printed when the filter is destroyed, and it's slightly annoying. Was enabled due to enabling float by default.
Diffstat (limited to 'audio/filter/control.h')
-rw-r--r--audio/filter/control.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/audio/filter/control.h b/audio/filter/control.h
index 323b9a3924..1342d5f299 100644
--- a/audio/filter/control.h
+++ b/audio/filter/control.h
@@ -98,11 +98,6 @@ typedef struct af_control_ext_s{
// OPTIONAL CALLS
-/* Called just after creation with the af_cfg for the stream in which
- the filter resides as input parameter this call can be used by the
- filter to initialize itself */
-#define AF_CONTROL_POST_CREATE 0x00000100 | AF_CONTROL_OPTIONAL
-
// Called just before destruction of a filter
#define AF_CONTROL_PRE_DESTROY 0x00000200 | AF_CONTROL_OPTIONAL