[vlc-commits] aout: opensles: force bitmap channel type
Thomas Guillem
git at videolan.org
Wed Jul 19 18:59:10 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jul 19 11:50:02 2017 +0200| [829b264196efce76828539d3d71ff66aa7641c1e] | committer: Thomas Guillem
aout: opensles: force bitmap channel type
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=829b264196efce76828539d3d71ff66aa7641c1e
---
modules/audio_output/opensles_android.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/audio_output/opensles_android.c b/modules/audio_output/opensles_android.c
index 73aed63c04..9b830b7e97 100644
--- a/modules/audio_output/opensles_android.c
+++ b/modules/audio_output/opensles_android.c
@@ -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);
More information about the vlc-commits
mailing list