]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Remove debug messages from pa start and pa stop
authorMike Brady <mikebrady@eircom.net>
Fri, 21 Sep 2018 16:45:13 +0000 (17:45 +0100)
committerMike Brady <mikebrady@eircom.net>
Fri, 21 Sep 2018 16:45:13 +0000 (17:45 +0100)
audio_pa.c

index 0d3aa28bd5f57e3db3fa7e1b29a66902d7dea0ee..592070034915485a70b709720d57bf831f6c3e8d 100644 (file)
@@ -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);
 }