shithub: sox

Download patch

ref: c3f82ed011d03816d64dd09a37f3e565c90e5784
parent: aef2508b542d9be61f461e814887790fd60ddc3e
author: Mans Rullgard <mans@mansr.com>
date: Thu Aug 13 17:10:25 EDT 2020

wav: drop some unnecessary debug messages

These statements produce warnings in 32-bit builds and don't give
any information not available elsewhere.  Drop them.

--- a/src/wav.c
+++ b/src/wav.c
@@ -942,8 +942,6 @@
         wav->numSamples =
             lsx_ms_adpcm_samples_in(qwDataLength, ft->signal.channels,
                                     wav->blockAlign, wav->samplesPerBlock);
-        lsx_debug_more("datalen %ld, numSamples %lu",
-                       qwDataLength, (unsigned long)wav->numSamples);
         wav->blockSamplesRemaining = 0;        /* Samples left in buffer */
         break;
 
@@ -953,8 +951,6 @@
         wav->numSamples =
             lsx_ima_samples_in(qwDataLength, ft->signal.channels,
                                wav->blockAlign, wav->samplesPerBlock);
-        lsx_debug_more("datalen %ld, numSamples %lu",
-                       qwDataLength, (unsigned long)wav->numSamples);
         wav->blockSamplesRemaining = 0;        /* Samples left in buffer */
         lsx_ima_init_table();
         break;