diff libaf/control.h @ 7993:ea0680d87f3f

Changing the behavour of the commandline parameter -af to conform with -vop. Adding new commanline parameter -af-adv for advanced af options. Adding changes to volume control to support commandline parameters.
author anders
date Thu, 31 Oct 2002 08:03:51 +0000
parents 1d3a3dc1f488
children c0e556f9986b
line wrap: on
line diff
--- a/libaf/control.h	Thu Oct 31 05:07:43 2002 +0000
+++ b/libaf/control.h	Thu Oct 31 08:03:51 2002 +0000
@@ -29,12 +29,17 @@
 
 /* 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 using commandline parameters */
+   filter to initialize itself */
 #define AF_CONTROL_POST_CREATE 		1 + AF_CONTROL_OPTIONAL_BASE
 
 // Called just before destruction of a filter
 #define AF_CONTROL_PRE_DESTROY 		2 + AF_CONTROL_OPTIONAL_BASE
 
+/* Commandline parameters. If there were any commandline parameters
+   for this specific filter, they will be given as a char* in the
+   argument */
+#define AF_CONTROL_COMMAND_LINE		3 + AF_CONTROL_OPTIONAL_BASE
+
 
 // FILTER SPECIFIC CALLS