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
25fb8daf
Commit
25fb8daf
authored
Oct 09, 2017
by
d.basulto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete messages
parent
a187cafe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
StreamRecorder.cpp
StreamRecorder.cpp
+0
-6
No files found.
StreamRecorder.cpp
View file @
25fb8daf
...
...
@@ -353,7 +353,6 @@ int StreamRecorder::addToBuffer(unsigned char* data, int length) {
cout
<<
"Data size: "
<<
bytesRead
<<
endl
;
/** add info to buffer*/
printf
(
"Audio buffer position %d
\n
"
,
audioBufferPosition
);
memcpy
((
char
*
)
audioBufferPosition
,
(
char
*
)
data
,
bytesRead
);
/** Update pointer*/
...
...
@@ -384,11 +383,6 @@ int StreamRecorder::addToBuffer(unsigned char* data, int length) {
/** If the buffer is full, save it in flac file */
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
();
}
}
...
...
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