Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mqa
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mans Rullgard
mqa
Commits
7dfb7b1e
Commit
7dfb7b1e
authored
7 years ago
by
Mans Rullgard
Browse files
Options
Downloads
Patches
Plain Diff
mqadec: update to new bluos api
parent
f8e6bdf5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mqadec.c
+3
-5
3 additions, 5 deletions
mqadec.c
with
3 additions
and
5 deletions
mqadec.c
+
3
−
5
View file @
7dfb7b1e
...
...
@@ -79,7 +79,7 @@ static int get_samples(int frame_size, uint8_t **samples, int eof, int *end)
*
samples
=
&
buf
[
buf_pos
];
return
size
;
return
size
/
frame_size
;
}
static
void
consume
(
int
len
)
...
...
@@ -92,12 +92,10 @@ static size_t write_samples(void *p, void *buf, size_t len)
int32_t
*
s
=
buf
;
int
i
;
len
&=
~
7
;
for
(
i
=
0
;
i
<
len
/
4
;
i
++
)
for
(
i
=
0
;
i
<
len
*
2
;
i
++
)
s
[
i
]
<<=
8
;
return
sf_writef_int
(
outfile
,
s
,
len
/
8
)
*
8
;
return
sf_writef_int
(
outfile
,
s
,
len
)
;
}
static
int
write_size
(
void
*
p
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment