]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - compress_filter.c
Switch audiod over to the buffer tree API.
[paraslash.git] / compress_filter.c
index a0b53bde61a093b7c9a07595df6af51a8cc1cb65..39055618cde7ea16bfd5f2207f4b00a3b314c5e2 100644 (file)
@@ -188,6 +188,11 @@ static void open_compress(struct filter_node *fn)
        pcd->max_gain = 1 << (pcd->conf->inertia_arg + pcd->conf->aggressiveness_arg);
 }
 
+static void compress_free_config(void *conf)
+{
+       compress_cmdline_parser_free(conf);
+}
+
 /**
  * The init function of the compress filter.
  *
@@ -204,6 +209,7 @@ void compress_filter_init(struct filter *f)
        f->pre_select = generic_filter_pre_select;
        f->post_select = compress_post_select;
        f->parse_config = compress_parse_config;
+       f->free_config = compress_free_config;
        f->help = (struct ggo_help) {
                .short_help = compress_filter_args_info_help,
                .detailed_help = compress_filter_args_info_detailed_help