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
0289a4ce
Commit
0289a4ce
authored
Mar 10, 2015
by
Thomas Guillem
Committed by
Jean-Baptiste Kempf
Mar 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audiotrack: fix typo
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
b5a3966f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/audio_output/audiotrack.c
modules/audio_output/audiotrack.c
+2
-2
No files found.
modules/audio_output/audiotrack.c
View file @
0289a4ce
...
@@ -680,7 +680,7 @@ JNIThread_Configure( JNIEnv *env, audio_output_t *p_aout )
...
@@ -680,7 +680,7 @@ JNIThread_Configure( JNIEnv *env, audio_output_t *p_aout )
i_nb_channels
=
aout_FormatNbChannels
(
&
fmt
);
i_nb_channels
=
aout_FormatNbChannels
(
&
fmt
);
/* Android AudioTrack support only mono, stereo, 5.1 and 7.1.
/* Android AudioTrack support
s
only mono, stereo, 5.1 and 7.1.
* Android will downmix to stereo if audio output doesn't handle 5.1 or 7.1
* Android will downmix to stereo if audio output doesn't handle 5.1 or 7.1
*/
*/
if
(
i_nb_channels
>
5
)
if
(
i_nb_channels
>
5
)
...
@@ -690,7 +690,7 @@ JNIThread_Configure( JNIEnv *env, audio_output_t *p_aout )
...
@@ -690,7 +690,7 @@ JNIThread_Configure( JNIEnv *env, audio_output_t *p_aout )
if
(
i_nb_channels
>
7
&&
jfields
.
AudioFormat
.
has_CHANNEL_OUT_SIDE
)
if
(
i_nb_channels
>
7
&&
jfields
.
AudioFormat
.
has_CHANNEL_OUT_SIDE
)
{
{
fmt
.
i_physical_channels
=
AOUT_CHANS_7_1
;
fmt
.
i_physical_channels
=
AOUT_CHANS_7_1
;
/* bitmak of CHANNEL_OUT_7POINT1 doesn't correspond to 5POINT1 and
/* bitma
s
k of CHANNEL_OUT_7POINT1 doesn't correspond to 5POINT1 and
* SIDES */
* SIDES */
i_channel_config
=
jfields
.
AudioFormat
.
CHANNEL_OUT_5POINT1
|
i_channel_config
=
jfields
.
AudioFormat
.
CHANNEL_OUT_5POINT1
|
jfields
.
AudioFormat
.
CHANNEL_OUT_SIDE_LEFT
|
jfields
.
AudioFormat
.
CHANNEL_OUT_SIDE_LEFT
|
...
...
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