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
d9b33ea5
Commit
d9b33ea5
authored
Dec 21, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remap: support U8 because we can
parent
f58f22cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/audio_filter/channel_mixer/remap.c
modules/audio_filter/channel_mixer/remap.c
+5
-0
No files found.
modules/audio_filter/channel_mixer/remap.c
View file @
d9b33ea5
...
...
@@ -214,6 +214,7 @@ static void RemapAdd##name( filter_t *p_filter, \
} \
}
DEFINE_REMAP
(
U8
,
uint8_t
)
DEFINE_REMAP
(
S16N
,
int16_t
)
DEFINE_REMAP
(
S32N
,
int32_t
)
DEFINE_REMAP
(
FL32
,
float
)
...
...
@@ -227,6 +228,8 @@ static inline remap_fun_t GetRemapFun( audio_format_t *p_format, bool b_add )
{
switch
(
p_format
->
i_format
)
{
case
VLC_CODEC_U8
:
return
RemapAddU8
;
case
VLC_CODEC_S16N
:
return
RemapAddS16N
;
case
VLC_CODEC_S32N
:
...
...
@@ -241,6 +244,8 @@ static inline remap_fun_t GetRemapFun( audio_format_t *p_format, bool b_add )
{
switch
(
p_format
->
i_format
)
{
case
VLC_CODEC_U8
:
return
RemapCopyU8
;
case
VLC_CODEC_S16N
:
return
RemapCopyS16N
;
case
VLC_CODEC_S32N
:
...
...
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