-fix build system issues
[oweals/gnunet.git] / src / conversation / gnunet-helper-audio-playback.c
index 97abd443070410cf9e4c57cccc2f0a2fda33a6de..cb083151d5aaaf6cfc393b753fee1b09eb3db982 100644 (file)
@@ -19,7 +19,7 @@
 */
 /**
  * @file conversation/gnunet-helper-audio-playback.c
- * @brief constants for network protocols
+ * @brief program to playback audio data to the speaker
  * @author Siomon Dieterle
  * @author Andreas Fuchs
  * @author Christian Grothoff
@@ -168,7 +168,7 @@ stream_write_callback (pa_stream * s,
   /* unblock 'main' */
   if (-1 != ready_pipe[1])
   {
-    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                "Unblocking main loop!\n");
     write (ready_pipe[1], "r", 1);
   }
@@ -335,8 +335,8 @@ main (int argc, char *argv[])
 
   GNUNET_assert (GNUNET_OK ==
                 GNUNET_log_setup ("gnunet-helper-audio-playback",
-                                  "DEBUG",
-                                  "/tmp/helper-audio-playback"));
+                                  "WARNING",
+                                  NULL));
   if (0 != pipe (ready_pipe))
   {
     GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, "pipe");
@@ -345,7 +345,7 @@ main (int argc, char *argv[])
   stdin_mst = GNUNET_SERVER_mst_create (&stdin_receiver, NULL);
   opus_init ();
   pa_init ();
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
              "Waiting for PulseAudio to be ready.\n");
   GNUNET_assert (1 == read (ready_pipe[0], &c, 1));
   close (ready_pipe[0]);