aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/speaker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/speaker.c')
-rw-r--r--src/conversation/speaker.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/conversation/speaker.c b/src/conversation/speaker.c
index d67346f1f..0f8661834 100644
--- a/src/conversation/speaker.c
+++ b/src/conversation/speaker.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,
@@ -57,17 +57,17 @@ struct Speaker
57static int 57static int
58enable (void *cls) 58enable (void *cls)
59{ 59{
60 struct Speaker *spe = cls; 60 struct Speaker *spe = cls;
61 static char *playback_helper_argv[] = 61 static char *playback_helper_argv[] =
62 { 62 {
63 "gnunet-helper-audio-playback", 63 "gnunet-helper-audio-playback",
64 NULL 64 NULL
65 }; 65 };
66 66
67 spe->playback_helper = GNUNET_HELPER_start (GNUNET_NO, 67 spe->playback_helper = GNUNET_HELPER_start (GNUNET_NO,
68 "gnunet-helper-audio-playback", 68 "gnunet-helper-audio-playback",
69 playback_helper_argv, 69 playback_helper_argv,
70 NULL, 70 NULL,
71 NULL, spe); 71 NULL, spe);
72 if (NULL == spe->playback_helper) 72 if (NULL == spe->playback_helper)
73 { 73 {
@@ -143,8 +143,8 @@ play (void *cls,
143 am->header.type = htons (GNUNET_MESSAGE_TYPE_CONVERSATION_AUDIO); 143 am->header.type = htons (GNUNET_MESSAGE_TYPE_CONVERSATION_AUDIO);
144 memcpy (&am[1], data, data_size); 144 memcpy (&am[1], data, data_size);
145 (void) GNUNET_HELPER_send (spe->playback_helper, 145 (void) GNUNET_HELPER_send (spe->playback_helper,
146 &am->header, 146 &am->header,
147 GNUNET_NO, 147 GNUNET_NO,
148 NULL, NULL); 148 NULL, NULL);
149} 149}
150 150