Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
6821ffc8
Commit
6821ffc8
authored
Jan 22, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FLAC: fix 7 channels layout
See
http://flac.sourceforge.net/format.html
parent
7d575ec6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
modules/codec/flac.c
modules/codec/flac.c
+5
-6
No files found.
modules/codec/flac.c
View file @
6821ffc8
...
...
@@ -80,8 +80,8 @@ static const int pi_channels_maps[9] =
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
|
AOUT_CHAN_CENTER
|
AOUT_CHAN_REARLEFT
|
AOUT_CHAN_REARRIGHT
|
AOUT_CHAN_LFE
,
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
|
AOUT_CHAN_CENTER
|
AOUT_CHAN_REAR
LEFT
|
AOUT_CHAN_REARRIGHT
|
AOUT_CHAN_MIDDLELEF
T
|
AOUT_CHAN_
MIDDLERIGHT
,
|
AOUT_CHAN_REAR
CENTER
|
AOUT_CHAN_MIDDLELEFT
|
AOUT_CHAN_MIDDLERIGH
T
|
AOUT_CHAN_
LFE
,
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
|
AOUT_CHAN_CENTER
|
AOUT_CHAN_REARLEFT
|
AOUT_CHAN_REARRIGHT
|
AOUT_CHAN_MIDDLELEFT
|
AOUT_CHAN_MIDDLERIGHT
|
AOUT_CHAN_LFE
...
...
@@ -147,16 +147,15 @@ DecoderWriteCallback( const FLAC__StreamDecoder *decoder,
{
/* XXX it supposes our internal format is WG4 */
static
const
unsigned
char
ppi_reorder
[
1
+
8
][
8
]
=
{
{
-
1
},
{
},
{
0
,
},
{
0
,
1
},
{
0
,
1
,
2
},
{
0
,
1
,
2
,
3
},
{
0
,
1
,
3
,
4
,
2
},
{
0
,
1
,
4
,
5
,
2
,
3
},
{
0
,
1
,
6
,
4
,
5
,
2
,
3
},
/* 7.0 Unspecified by flac, but following SMPTE */
{
0
,
1
,
6
,
7
,
4
,
5
,
2
,
3
},
/* 7.1 Unspecified by flac, but following SMPTE */
{
0
,
1
,
5
,
6
,
4
,
2
,
3
},
{
0
,
1
,
6
,
7
,
4
,
5
,
2
,
3
},
};
VLC_UNUSED
(
decoder
);
...
...
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