Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
b38b6d56
Commit
b38b6d56
authored
Feb 21, 2012
by
Tim W
Committed by
Justin Ruggles
Feb 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add names for more channel layouts to the channel layout map.
Signed-off-by:
Justin Ruggles
<
justin.ruggles@gmail.com
>
parent
79c7064c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
audioconvert.c
libavutil/audioconvert.c
+18
-0
No files found.
libavutil/audioconvert.c
View file @
b38b6d56
...
...
@@ -64,16 +64,34 @@ static const struct {
}
channel_layout_map
[]
=
{
{
"mono"
,
1
,
AV_CH_LAYOUT_MONO
},
{
"stereo"
,
2
,
AV_CH_LAYOUT_STEREO
},
{
"stereo"
,
2
,
AV_CH_LAYOUT_STEREO_DOWNMIX
},
{
"2.1"
,
3
,
AV_CH_LAYOUT_2POINT1
},
{
"3.0"
,
3
,
AV_CH_LAYOUT_SURROUND
},
{
"3.0(back)"
,
3
,
AV_CH_LAYOUT_2_1
},
{
"3.1"
,
4
,
AV_CH_LAYOUT_3POINT1
},
{
"4.0"
,
4
,
AV_CH_LAYOUT_4POINT0
},
{
"quad"
,
4
,
AV_CH_LAYOUT_QUAD
},
{
"quad(side)"
,
4
,
AV_CH_LAYOUT_2_2
},
{
"4.1"
,
5
,
AV_CH_LAYOUT_4POINT1
},
{
"5.0"
,
5
,
AV_CH_LAYOUT_5POINT0
},
{
"5.0"
,
5
,
AV_CH_LAYOUT_5POINT0_BACK
},
{
"5.1"
,
6
,
AV_CH_LAYOUT_5POINT1
},
{
"5.1"
,
6
,
AV_CH_LAYOUT_5POINT1_BACK
},
{
"5.1+downmix"
,
8
,
AV_CH_LAYOUT_5POINT1
|
AV_CH_LAYOUT_STEREO_DOWNMIX
,
},
{
"6.0"
,
6
,
AV_CH_LAYOUT_6POINT0
},
{
"6.0(front)"
,
6
,
AV_CH_LAYOUT_6POINT0_FRONT
},
{
"hexagonal"
,
6
,
AV_CH_LAYOUT_HEXAGONAL
},
{
"6.1"
,
7
,
AV_CH_LAYOUT_6POINT1
},
{
"6.1"
,
7
,
AV_CH_LAYOUT_6POINT1_BACK
},
{
"6.1(front)"
,
7
,
AV_CH_LAYOUT_6POINT1_FRONT
},
{
"6.1+downmix"
,
9
,
AV_CH_LAYOUT_6POINT1
|
AV_CH_LAYOUT_STEREO_DOWNMIX
,
},
{
"7.0"
,
7
,
AV_CH_LAYOUT_7POINT0
},
{
"7.0(front)"
,
7
,
AV_CH_LAYOUT_7POINT0_FRONT
},
{
"7.1"
,
8
,
AV_CH_LAYOUT_7POINT1
},
{
"7.1(wide)"
,
8
,
AV_CH_LAYOUT_7POINT1_WIDE
},
{
"7.1(wide)"
,
8
,
AV_CH_LAYOUT_7POINT1_WIDE_BACK
},
{
"7.1+downmix"
,
10
,
AV_CH_LAYOUT_7POINT1
|
AV_CH_LAYOUT_STEREO_DOWNMIX
,
},
{
"octagonal"
,
8
,
AV_CH_LAYOUT_OCTAGONAL
},
{
0
}
};
...
...
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