]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audiod.c
Simplify pass_buffer_as_shm().
[paraslash.git] / audiod.c
index a78757b6fead348359b66b641cae528e9c25d95a..aefac612b480af2d6f1c857b5225f3d042b68ff4 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -77,6 +77,12 @@ enum vss_status_flags {
        VSS_STATUS_FLAG_PLAYING = 2,
 };
 
+/**
+ * The scheduler instance of para_audiod.
+ *
+ * This is needed also in audiod_command.c (for the tasks command), so it can
+ * not be made static.
+ */
 struct sched sched = {.max_fileno = 0};
 
 /**
@@ -918,8 +924,6 @@ static int parse_filter_args(void)
 {
        int i, j, ret, af_mask;
 
-       if (!conf.no_default_filters_given)
-               return init_default_filters();
        for (i = 0; i < conf.filter_given; i++) {
                char *arg;
                ret = parse_stream_command(conf.filter_arg[i], &arg);