]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - oss_write.c
Switch audiod over to the buffer tree API.
[paraslash.git] / oss_write.c
index 20b05009d38b08c10b06b64ebf44777a9d5a803d..4e5f9b5626c2400f310647cf8805e141f98e983d 100644 (file)
@@ -282,6 +282,11 @@ err_out:
        return NULL;
 }
 
        return NULL;
 }
 
+static void oss_free_config(void *conf)
+{
+       oss_cmdline_parser_free(conf);
+}
+
 /**
  * The init function of the oss writer.
  *
 /**
  * The init function of the oss writer.
  *
@@ -301,6 +306,7 @@ void oss_write_init(struct writer *w)
        w->post_select = oss_post_select;
        w->post_select_btr = oss_post_select_btr;
        w->parse_config = oss_parse_config;
        w->post_select = oss_post_select;
        w->post_select_btr = oss_post_select_btr;
        w->parse_config = oss_parse_config;
+       w->free_config = oss_free_config;
        w->shutdown = NULL;
        w->help = (struct ggo_help) {
                .short_help = oss_write_args_info_help,
        w->shutdown = NULL;
        w->help = (struct ggo_help) {
                .short_help = oss_write_args_info_help,