Commit 25fb8daf authored by d.basulto's avatar d.basulto

delete messages

parent a187cafe
...@@ -353,7 +353,6 @@ int StreamRecorder::addToBuffer(unsigned char* data, int length) { ...@@ -353,7 +353,6 @@ int StreamRecorder::addToBuffer(unsigned char* data, int length) {
cout << "Data size: " << bytesRead << endl; cout << "Data size: " << bytesRead << endl;
/** add info to buffer*/ /** add info to buffer*/
printf("Audio buffer position %d\n", audioBufferPosition);
memcpy((char*)audioBufferPosition, (char*)data, bytesRead); memcpy((char*)audioBufferPosition, (char*)data, bytesRead);
/** Update pointer*/ /** Update pointer*/
...@@ -384,11 +383,6 @@ int StreamRecorder::addToBuffer(unsigned char* data, int length) { ...@@ -384,11 +383,6 @@ int StreamRecorder::addToBuffer(unsigned char* data, int length) {
/** If the buffer is full, save it in flac file */ /** If the buffer is full, save it in flac file */
if(nBytes >= bufferSize) if(nBytes >= bufferSize)
{ {
cout << "ENTROOOO" << endl;
printf("Audio buffer %d\n", audioBuffer );
printf("Audio buffer position %d\n", audioBufferPosition);
cout << "Bytes readed " << nBytes << endl;
cout << "Buffer size " << bufferSize << endl;
saveBuffer(); saveBuffer();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment