Makefile.in: Remove special treatment of ortp_send/ortp_recv
[paraslash.git] / audiod.c
index 462ecc8..61711dc 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -696,7 +696,7 @@ static void start_stream_writer(int slot_num)
        if (a->write_cmd)
                glob = glob_cmd(a->write_cmd);
        if (!glob)
-               glob = para_strdup("para_play");
+               glob = para_strdup("para_write -w alsa");
        PARA_INFO_LOG("starting stream writer: %s\n", glob);
        open_filters(slot_num);
        ret = para_exec_cmdline_pid(&s->wpid, glob, fds);
@@ -1562,8 +1562,7 @@ repeat:
        FD_ZERO(&wfds);
        FD_ZERO(&rfds);
        /* always check signal pipe and the local socket */
-       FD_SET(signal_pipe, &rfds);
-       max_fileno = signal_pipe;
+       para_fd_set(signal_pipe, &rfds, &max_fileno);
        para_fd_set(audiod_socket, &rfds, &max_fileno);
 
        if (audiod_status != AUDIOD_ON)