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
8d73a4d7
Commit
8d73a4d7
authored
Dec 20, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: remove 24-bits support left-overs
parent
aeefe898
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
src/audio_output/common.c
src/audio_output/common.c
+0
-18
No files found.
src/audio_output/common.c
View file @
8d73a4d7
...
...
@@ -338,22 +338,6 @@ void aout_ChannelReorder( void *ptr, size_t bytes, unsigned channels,
}
break
;
}
case
24
:
{
uint8_t
*
buf
=
ptr
;
for
(
size_t
i
=
0
;
i
<
samples
;
i
++
)
{
uint8_t
tmp
[
3
*
AOUT_CHAN_MAX
];
for
(
size_t
j
=
0
;
j
<
channels
;
j
++
)
memcpy
(
tmp
+
(
3
*
chans_table
[
j
]),
buf
+
(
3
*
j
),
3
);
memcpy
(
buf
,
tmp
,
3
*
channels
);
buf
+=
3
*
channels
;
}
}
}
}
...
...
@@ -386,8 +370,6 @@ void aout_ChannelExtract( void *p_dst, int i_dst_channels,
ExtractChannel
(
p_dst
,
i_dst_channels
,
p_src
,
i_src_channels
,
i_sample_count
,
pi_selection
,
1
);
else
if
(
i_bits_per_sample
==
16
)
ExtractChannel
(
p_dst
,
i_dst_channels
,
p_src
,
i_src_channels
,
i_sample_count
,
pi_selection
,
2
);
else
if
(
i_bits_per_sample
==
24
)
ExtractChannel
(
p_dst
,
i_dst_channels
,
p_src
,
i_src_channels
,
i_sample_count
,
pi_selection
,
3
);
else
if
(
i_bits_per_sample
==
32
)
ExtractChannel
(
p_dst
,
i_dst_channels
,
p_src
,
i_src_channels
,
i_sample_count
,
pi_selection
,
4
);
else
if
(
i_bits_per_sample
==
64
)
...
...
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