Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GStreamer_audioRecorder
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
m3
GStreamer_audioRecorder
Commits
fd68d5ce
Commit
fd68d5ce
authored
Oct 19, 2017
by
d.basulto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete unnecesary variables
parent
54b616c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
StreamRecorder.cpp
StreamRecorder.cpp
+0
-1
StreamRecorder.h
StreamRecorder.h
+0
-3
No files found.
StreamRecorder.cpp
View file @
fd68d5ce
...
...
@@ -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
;
...
...
StreamRecorder.h
View file @
fd68d5ce
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment