aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/microphone.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/microphone.c')
-rw-r--r--src/conversation/microphone.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/conversation/microphone.c b/src/conversation/microphone.c
index 2c399c74d..bc6044120 100644
--- a/src/conversation/microphone.c
+++ b/src/conversation/microphone.c
@@ -1,17 +1,17 @@
1/* 1/*
2 This file is part of GNUnet 2 This file is part of GNUnet
3 (C) 2013 Christian Grothoff (and other contributing authors) 3 (C) 2013 Christian Grothoff (and other contributing authors)
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
7 by the Free Software Foundation; either version 3, or (at your 7 by the Free Software Foundation; either version 3, or (at your
8 option) any later version. 8 option) any later version.
9 9
10 GNUnet is distributed in the hope that it will be useful, but 10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details. 13 General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with GNUnet; see the file COPYING. If not, write to the 16 along with GNUnet; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
@@ -101,8 +101,8 @@ enable (void *cls,
101 GNUNET_MICROPHONE_RecordedDataCallback rdc, 101 GNUNET_MICROPHONE_RecordedDataCallback rdc,
102 void *rdc_cls) 102 void *rdc_cls)
103{ 103{
104 struct Microphone *mic = cls; 104 struct Microphone *mic = cls;
105 static char * const record_helper_argv[] = 105 static char * const record_helper_argv[] =
106 { 106 {
107 "gnunet-helper-audio-record", 107 "gnunet-helper-audio-record",
108 NULL 108 NULL
@@ -113,14 +113,14 @@ enable (void *cls,
113 mic->record_helper = GNUNET_HELPER_start (GNUNET_NO, 113 mic->record_helper = GNUNET_HELPER_start (GNUNET_NO,
114 "gnunet-helper-audio-record", 114 "gnunet-helper-audio-record",
115 record_helper_argv, 115 record_helper_argv,
116 &process_record_messages, 116 &process_record_messages,
117 NULL, mic); 117 NULL, mic);
118 if (NULL == mic->record_helper) 118 if (NULL == mic->record_helper)
119 { 119 {
120 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 120 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
121 _("Could not start record audio helper\n")); 121 _("Could not start record audio helper\n"));
122 return GNUNET_SYSERR; 122 return GNUNET_SYSERR;
123 } 123 }
124 return GNUNET_OK; 124 return GNUNET_OK;
125} 125}
126 126