Commit 0289a4ce authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

audiotrack: fix typo

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b5a3966f
...@@ -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 supports 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 /* bitmask 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 |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment