]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - filter.h
paraslash 0.7.3
[paraslash.git] / filter.h
index 96f3dbaec28d0c07a39140672bb6ed30bccf6cdf..77057e6a7d2b9a997219d907b3ddd459716283ad 100644 (file)
--- a/filter.h
+++ b/filter.h
@@ -84,9 +84,9 @@ struct filter {
         */
        void (*teardown)(const struct lls_parse_result *lpr, void *conf);
        /** Force a zero timeout if data is available in the buffer tree. */
-       void (*pre_select)(struct sched *s, void *context);
+       void (*pre_monitor)(struct sched *s, void *context);
        /** Convert (filter) input data into output data. */
-       int (*post_select)(struct sched *s, void *context);
+       int (*post_monitor)(struct sched *s, void *context);
        /**
         * Answer a buffer tree query.
         *
@@ -112,7 +112,7 @@ int filter_setup(const char *fa, void **conf, struct lls_parse_result **lprp);
 #define FILTER_CMD_OPT_STRING_VAL(_cmd, _opt, _lpr) \
        (lls_string_val(0, FILTER_CMD_OPT_RESULT(_cmd, _opt, _lpr)))
 
-void generic_filter_pre_select(struct sched *s, void *context);
+void generic_filter_pre_monitor(struct sched *s, void *context);
 int decoder_execute(const char *cmd, unsigned sample_rate, unsigned channels,
                char **result);