aout: opensles: force bitmap channel type
authorThomas Guillem <thomas@gllm.fr>
Wed, 19 Jul 2017 09:50:02 +0000 (11:50 +0200)
committerThomas Guillem <thomas@gllm.fr>
Wed, 19 Jul 2017 16:46:05 +0000 (18:46 +0200)
modules/audio_output/opensles_android.c

index 73aed63..9b830b7 100644 (file)
@@ -475,6 +475,7 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
     // we want 16bit signed data native endian.
     fmt->i_format              = VLC_CODEC_S16N;
     fmt->i_physical_channels   = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT;
+    fmt->channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
 
     SetPositionUpdatePeriod(sys->playerPlay, AOUT_MIN_PREPARE_TIME * 1000 / CLOCK_FREQ);