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
a9e89414
Commit
a9e89414
authored
6 years ago
by
Mans Rullgard
Browse files
Options
Downloads
Patches
Plain Diff
move bit depth table to mqa-common
parent
8dd280f0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
mqa-common.c
+7
-0
7 additions, 0 deletions
mqa-common.c
mqa-common.h
+1
-0
1 addition, 0 deletions
mqa-common.h
mqbscan.c
+1
-8
1 addition, 8 deletions
mqbscan.c
with
9 additions
and
8 deletions
mqa-common.c
+
7
−
0
View file @
a9e89414
...
...
@@ -54,3 +54,10 @@ const char *mqa_rates[32] = {
"4.096 MHz"
,
"8.192 MHz"
,
};
const
char
*
mqb_bitdepths
[
4
]
=
{
"20 bits"
,
"18 bits"
,
"16 bits"
,
"15 bits"
,
};
This diff is collapsed.
Click to expand it.
mqa-common.h
+
1
−
0
View file @
a9e89414
...
...
@@ -31,5 +31,6 @@
extern
const
char
*
mqa_rates
[
32
];
extern
const
uint8_t
mqa_auth_keys
[
16
][
384
];
extern
const
char
*
mqb_bitdepths
[
4
];
#endif
This diff is collapsed.
Click to expand it.
mqbscan.c
+
1
−
8
View file @
a9e89414
...
...
@@ -55,18 +55,11 @@ static const struct bitfield frame_00[] = {
{
0
},
};
static
const
char
*
bitdepth_tab
[
4
]
=
{
"20 bits"
,
"18 bits"
,
"16 bits"
,
"15 bits"
,
};
static
const
struct
bitfield
frame_01
[]
=
{
{
8
,
BF_RET
,
"size"
},
{
5
,
0
,
"resampling_filter"
},
{
2
,
0
,
"noise_shaping_filter"
},
{
2
,
0
,
"bitdepth"
,
bitdepth
_tab
},
{
2
,
0
,
"bitdepth"
,
mqb_
bitdepth
s
},
{
1
,
0
,
"unknown"
},
{
10
,
BF_SIGNED
,
"replay_gain"
},
{
5
,
BF_HEX
,
"orig_rate"
,
mqa_rates
},
...
...
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