Commit fd68d5ce authored by d.basulto's avatar d.basulto

Delete unnecesary variables

parent 54b616c4
......@@ -338,7 +338,6 @@ int StreamRecorder::filter_handoff_callback(GstElement* filter, GstBuffer* buffe
((StreamRecorder*)user_data)->isDisconnected = false;
}
// user data is the class
((StreamRecorder*)user_data)->addToBuffer((unsigned char*)info.data, info.size);
gst_buffer_unmap (buffer, &info);
return 0;
......
......@@ -25,7 +25,6 @@
#define STREAMRECORDER_BYTESPERSAMPLE 2
#define NCHANNELS 1
#define ERROR_MSG_SIZE 50
#define DST_URI_SIZE 80
#define RECONNECTION_DELAY 1
......@@ -42,7 +41,6 @@ class StreamRecorder
unsigned char* audioBuffer;
unsigned char* audioBufferPosition;
char errorMessage[ERROR_MSG_SIZE];
char pluginUri[DST_URI_SIZE];
unsigned int nBytes;
......@@ -55,7 +53,6 @@ class StreamRecorder
long int timestamp = 0;
bool isDisconnected = false;
bool isValidDisconnectedEvent = false;
//char* sourceName;
//GstElement* audioResample;
......
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