Switch audiod over to the buffer tree API.
[paraslash.git] / prebuffer_filter.c
index adfe9de..207d332 100644 (file)
@@ -162,6 +162,11 @@ static void prebuffer_open(struct filter_node *fn)
        fn->buf = para_malloc(fn->bufsize);
 }
 
+static void prebuffer_free_config(void *conf)
+{
+       prebuffer_cmdline_parser_free(conf);
+}
+
 /**
  * The init function of the prebuffer filter.
  *
@@ -176,6 +181,7 @@ void prebuffer_filter_init(struct filter *f)
        f->close = prebuffer_close;
        f->convert = prebuffer_convert;
        f->parse_config = prebuffer_parse_config;
+       f->free_config = prebuffer_free_config;
        f->pre_select = prebuffer_pre_select;
        f->post_select = prebuffer_post_select;
        f->help = (struct ggo_help) {