From 0dce0525351fb831236cde1dbec2a9a6f5177752 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Fri, 21 Sep 2018 17:45:13 +0100 Subject: [PATCH] Remove debug messages from pa start and pa stop --- audio_pa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio_pa.c b/audio_pa.c index 0d3aa28b..59207003 100644 --- a/audio_pa.c +++ b/audio_pa.c @@ -147,7 +147,7 @@ static void deinit(void) { static void start(__attribute__((unused)) int sample_rate, __attribute__((unused)) int sample_format) { - debug(1,"pa start"); + // debug(1,"pa start"); uint32_t buffer_size_in_bytes = (uint32_t)2 * 2 * RATE * 0.1; // hard wired in here // debug(1, "pa_buffer size is %u bytes.", buffer_size_in_bytes); @@ -276,7 +276,7 @@ static void stop(void) { audio_umb = audio_lmb + audio_size; audio_occupancy = 0; - debug(1,"pa stop"); + // debug(1,"pa stop"); pa_stream_unref(stream); pa_stream_disconnect(stream); }