Skip to content
Snippets Groups Projects
Commit 0d0b9ec0 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#2366] Clean up other debug

parent 59a341ad
Branches
Tags
No related merge requests found
...@@ -651,7 +651,7 @@ void PulseLayer::readFromMic (void) ...@@ -651,7 +651,7 @@ void PulseLayer::readFromMic (void)
int readableSize = pa_stream_readable_size(record->pulseStream()); int readableSize = pa_stream_readable_size(record->pulseStream());
_debug("readableSize: %i\n", readableSize); // _debug("readableSize: %i\n", readableSize);
if (pa_stream_peek (record->pulseStream() , (const void**) &data , &r) < 0 || !data) { if (pa_stream_peek (record->pulseStream() , (const void**) &data , &r) < 0 || !data) {
_debug("pa_stream_peek() failed: %s\n" , pa_strerror( pa_context_errno( context) )); _debug("pa_stream_peek() failed: %s\n" , pa_strerror( pa_context_errno( context) ));
...@@ -667,7 +667,7 @@ void PulseLayer::readFromMic (void) ...@@ -667,7 +667,7 @@ void PulseLayer::readFromMic (void)
SFLDataFormat* rsmpl_out = (SFLDataFormat*) pa_xmalloc (readableSize); SFLDataFormat* rsmpl_out = (SFLDataFormat*) pa_xmalloc (readableSize);
_debug("Byte read: %i\n", r); // _debug("Byte read: %i\n", r);
int nbSample = r / sizeof(SFLDataFormat); int nbSample = r / sizeof(SFLDataFormat);
int nb_sample_up = nbSample; int nb_sample_up = nbSample;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment