Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
bcg729
Commits
8d5d6c1e
Commit
8d5d6c1e
authored
May 16, 2012
by
Yann Diorcet
Browse files
use mblk_meta_copy in decode process
parent
50c5aa79
Changes
1
Hide whitespace changes
Inline
Side-by-side
msbcg729/bcg729_dec.c
View file @
8d5d6c1e
...
...
@@ -50,6 +50,7 @@ static void filter_process(MSFilter *f){
while
((
inputMessage
=
ms_queue_get
(
f
->
inputs
[
0
])))
{
while
(
inputMessage
->
b_rptr
<
inputMessage
->
b_wptr
)
{
outputMessage
=
allocb
(
SIGNAL_FRAME_SIZE
,
0
);
mblk_meta_copy
(
inputMessage
,
outputMessage
);
bcg729Decoder
(
obj
->
decoderChannelContext
,
inputMessage
->
b_rptr
,
0
,
(
int16_t
*
)(
outputMessage
->
b_wptr
));
outputMessage
->
b_wptr
+=
SIGNAL_FRAME_SIZE
;
inputMessage
->
b_rptr
+=
BITSTREAM_FRAME_SIZE
;
...
...
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