Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
105926ff
Commit
105926ff
authored
May 13, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed downmixing to mono (close #2728).
parent
0c8eca40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/audio_filter/channel_mixer/simple.c
modules/audio_filter/channel_mixer/simple.c
+2
-1
No files found.
modules/audio_filter/channel_mixer/simple.c
View file @
105926ff
...
...
@@ -102,7 +102,8 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
const
bool
b_input_7_0
=
(
i_input_physical
&
~
AOUT_CHAN_LFE
)
==
AOUT_CHANS_7_0
;
const
bool
b_input_5_0
=
!
b_input_7_0
&&
(
i_input_physical
&
(
AOUT_CHANS_5_0
|
AOUT_CHANS_5_0_MIDDLE
));
(
(
i_input_physical
&
AOUT_CHANS_5_0
)
==
AOUT_CHANS_5_0
||
(
i_input_physical
&
AOUT_CHANS_5_0_MIDDLE
)
==
AOUT_CHANS_5_0_MIDDLE
);
int
i_input_nb
=
aout_FormatNbChannels
(
&
p_filter
->
input
);
int
i_output_nb
=
aout_FormatNbChannels
(
&
p_filter
->
output
);
float
*
p_dest
=
(
float
*
)
p_out_buf
->
p_buffer
;
...
...
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