Commit 6f71c5b6 authored by d.basulto's avatar d.basulto

delete a dummy bool variable

parent e5502abe
......@@ -319,7 +319,7 @@ int StreamRecorder::filter_handoff_callback(GstElement* filter, GstBuffer* buffe
printf("Bytes to add: %ld\n", bytesToAdd);
// Adjust the bytes to add value to a buffer size divider
bytesToAdd = ceil(bytesToAdd / (STREAMRECORDER_BYTESPERSAMPLE*READSIZE))*STREAMRECORDER_BYTESPERSAMPLE*READSIZE;
bytesToAdd = ceil(bytesToAdd/(STREAMRECORDER_BYTESPERSAMPLE*READSIZE))*STREAMRECORDER_BYTESPERSAMPLE*READSIZE;
printf("Adjusted to: %ld\n", bytesToAdd);
((StreamRecorder*)user_data)->audioBufferPosition = ((StreamRecorder*)user_data)->audioBuffer;
......@@ -349,7 +349,6 @@ int StreamRecorder::addToBuffer(unsigned char* data, int length)
{
int bytesRead = length;// READSIZE*STREAMRECORDER_BYTESPERSAMPLE;
bool aux = false;
bool isNewAudioFile;
/** Useful for obtain the filename*/
......
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