[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31199 - gnunet/src/conversation
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31199 - gnunet/src/conversation |
Date: |
Mon, 9 Dec 2013 00:40:33 +0100 |
Author: grothoff
Date: 2013-12-09 00:40:32 +0100 (Mon, 09 Dec 2013)
New Revision: 31199
Modified:
gnunet/src/conversation/gnunet-helper-audio-playback.c
gnunet/src/conversation/gnunet-helper-audio-record.c
Log:
-style fixes
Modified: gnunet/src/conversation/gnunet-helper-audio-playback.c
===================================================================
--- gnunet/src/conversation/gnunet-helper-audio-playback.c 2013-12-08
23:32:08 UTC (rev 31198)
+++ gnunet/src/conversation/gnunet-helper-audio-playback.c 2013-12-08
23:40:32 UTC (rev 31199)
@@ -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
@@ -335,8 +335,8 @@
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");
Modified: gnunet/src/conversation/gnunet-helper-audio-record.c
===================================================================
--- gnunet/src/conversation/gnunet-helper-audio-record.c 2013-12-08
23:32:08 UTC (rev 31198)
+++ gnunet/src/conversation/gnunet-helper-audio-record.c 2013-12-08
23:40:32 UTC (rev 31199)
@@ -18,8 +18,8 @@
Boston, MA 02111-1307, USA.
*/
/**
- * @file conversation/gnunet-helper-audio-playback.c
- * @brief constants for network protocols
+ * @file conversation/gnunet-helper-audio-record.c
+ * @brief program to record audio data from the microphone
* @author Siomon Dieterle
* @author Andreas Fuchs
* @author Christian Grothoff
@@ -293,10 +293,9 @@
case PA_STREAM_READY:
{
const pa_buffer_attr *a;
+ char cmt[PA_CHANNEL_MAP_SNPRINT_MAX];
+ char sst[PA_SAMPLE_SPEC_SNPRINT_MAX];
- char cmt[PA_CHANNEL_MAP_SNPRINT_MAX],
- sst[PA_SAMPLE_SPEC_SNPRINT_MAX];
-
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
_("Stream successfully created.\n"));
@@ -306,7 +305,7 @@
_("pa_stream_get_buffer_attr() failed: %s\n"),
pa_strerror (pa_context_errno
(pa_stream_get_context (s))));
-
+
}
else
{
@@ -492,8 +491,8 @@
{
GNUNET_assert (GNUNET_OK ==
GNUNET_log_setup ("gnunet-helper-audio-record",
- "DEBUG",
- "/tmp/helper-audio-record"));
+ "WARNING",
+ NULL));
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Audio source starts\n");
audio_message = GNUNET_malloc (UINT16_MAX);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31199 - gnunet/src/conversation,
gnunet <=