simplify osx_write_pre_select()
authorAndre Noll <maan@sipadan.fml.local>
Sun, 13 Aug 2006 16:58:46 +0000 (18:58 +0200)
committerAndre Noll <maan@sipadan.fml.local>
Sun, 13 Aug 2006 16:58:46 +0000 (18:58 +0200)
osx_writer.c

index 4162bad..4b505f0 100644 (file)
@@ -306,15 +306,8 @@ static int osx_write_post_select(__a_unused struct sched *s,
        return 1;
 }
 
-static int osx_write_pre_select(struct sched *s, struct writer_node *wn)
+static int osx_write_pre_select(struct sched *s, __a_unused struct writer_node *wn)
 {
-       struct writer_node_group *wng = wn->wng;
-       struct private_osx_writer_data *powd = wn->private_data;
-
-//     if (!*wng->loaded)
-//             return 1;
-//     if (powd->to->remaining) /* Non empty buffer, must still be playing */
-//             return 1;
        s->timeout.tv_sec = 0;
        s->timeout.tv_usec = 20;
        return 1;