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
6cfed112
Commit
6cfed112
authored
Sep 10, 2011
by
Stefano Sabatini
Committed by
Diego Biurrun
Sep 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audioconvert: add explanatory comments to channel_names array
Signed-off-by:
Diego Biurrun
<
diego@biurrun.de
>
parent
3a0b5fa5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
5 deletions
+20
-5
audioconvert.c
libavutil/audioconvert.c
+20
-5
No files found.
libavutil/audioconvert.c
View file @
6cfed112
...
@@ -28,11 +28,26 @@
...
@@ -28,11 +28,26 @@
#include "audioconvert.h"
#include "audioconvert.h"
static
const
char
*
const
channel_names
[]
=
{
static
const
char
*
const
channel_names
[]
=
{
"FL"
,
"FR"
,
"FC"
,
"LFE"
,
"BL"
,
"BR"
,
"FLC"
,
"FRC"
,
[
0
]
=
"FL"
,
/* front left */
"BC"
,
"SL"
,
"SR"
,
"TC"
,
"TFL"
,
"TFC"
,
"TFR"
,
"TBL"
,
[
1
]
=
"FR"
,
/* front right */
"TBC"
,
"TBR"
,
[
2
]
=
"FC"
,
/* front center */
[
29
]
=
"DL"
,
[
3
]
=
"LFE"
,
/* low frequency */
[
30
]
=
"DR"
,
[
4
]
=
"BL"
,
/* back left */
[
5
]
=
"BR"
,
/* back right */
[
6
]
=
"FLC"
,
/* front left-of-center */
[
7
]
=
"FRC"
,
/* front right-of-center */
[
8
]
=
"BC"
,
/* back-center */
[
9
]
=
"SL"
,
/* side left */
[
10
]
=
"SR"
,
/* side right */
[
11
]
=
"TC"
,
/* top center */
[
12
]
=
"TFL"
,
/* top front left */
[
13
]
=
"TFC"
,
/* top front center */
[
14
]
=
"TFR"
,
/* top front right */
[
15
]
=
"TBL"
,
/* top back left */
[
16
]
=
"TBC"
,
/* top back center */
[
17
]
=
"TBR"
,
/* top back right */
[
29
]
=
"DL"
,
/* downmix left */
[
30
]
=
"DR"
,
/* downmix right */
};
};
static
const
char
*
get_channel_name
(
int
channel_id
)
static
const
char
*
get_channel_name
(
int
channel_id
)
...
...
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