Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
303de67a
Commit
303de67a
authored
Dec 04, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mono: fix channel order
parent
9b68f5d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
modules/audio_filter/channel_mixer/mono.c
modules/audio_filter/channel_mixer/mono.c
+13
-7
No files found.
modules/audio_filter/channel_mixer/mono.c
View file @
303de67a
...
...
@@ -89,15 +89,21 @@ struct filter_sys_t
#define MONO_CHANNEL_LONGTEXT N_("This option silences all other channels " \
"except the selected channel.")
static
const
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
};
static
const
int
pi_pos_values
[]
=
{
0
,
1
,
4
,
5
,
7
,
8
,
2
,
3
,
6
};
static
const
char
*
const
ppsz_pos_descriptions
[]
=
{
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Left rear"
),
N_
(
"Right rear"
),
N_
(
"Center"
),
N_
(
"Left front"
)
};
{
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Rear left"
),
N_
(
"Rear right"
),
N_
(
"Center"
),
N_
(
"Low-frequency effects"
),
N_
(
"Side left"
),
N_
(
"Side right"
),
N_
(
"Rear center"
)
};
/* our internal channel order (WG-4 order) */
static
const
uint32_t
pi_channels_out
[]
=
{
AOUT_CHAN_LEFT
,
AOUT_CHAN_RIGHT
,
AOUT_CHAN_REARLEFT
,
AOUT_CHAN_REARRIGHT
,
AOUT_CHAN_CENTER
,
AOUT_CHAN_LFE
,
0
};
/* our internal channel order (WG-4 order)
static const uint32_t pi_vlc_chan_order_wg4[] =
{
AOUT_CHAN_LEFT, AOUT_CHAN_RIGHT,
AOUT_CHAN_MIDDLELEFT, AOUT_CHAN_MIDDLERIGHT,
AOUT_CHAN_REARLEFT, AOUT_CHAN_REARRIGHT, AOUT_CHAN_REARCENTER,
AOUT_CHAN_CENTER, AOUT_CHAN_LFE, 0
}; */
#define MONO_CFG "sout-mono-"
/*****************************************************************************
...
...
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