From f95f938f40199cdb6300cc55b191bba6cc7e8540 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 3 Oct 2013 13:51:33 +0000 Subject: -note on todo --- src/conversation/microphone.c | 2 ++ src/conversation/speaker.c | 1 + 2 files changed, 3 insertions(+) (limited to 'src/conversation') diff --git a/src/conversation/microphone.c b/src/conversation/microphone.c index f42f571c8..d994db889 100644 --- a/src/conversation/microphone.c +++ b/src/conversation/microphone.c @@ -80,6 +80,8 @@ process_record_messages (void *cls, GNUNET_break (0); return GNUNET_SYSERR; } + // FIXME: unbox here, instead of sending with overhead! + // (see speaker.c::play) mic->rdc (mic->rdc_cls, ntohs (msg->size), (const char *) msg); diff --git a/src/conversation/speaker.c b/src/conversation/speaker.c index 9a0bf910d..5fdfff3ee 100644 --- a/src/conversation/speaker.c +++ b/src/conversation/speaker.c @@ -137,6 +137,7 @@ play (void *cls, GNUNET_break (0); return; } + // FIXME: box here, instead of expecting boxed data! if (sizeof (struct AudioMessage) > data_size) { GNUNET_break (0); -- cgit v1.2.3