[vlc-commits] aout: alsa: force bitmap channel type

Thomas Guillem git at videolan.org
Wed Jul 19 18:58:50 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jul 19 11:49:19 2017 +0200| [3613414aa7352813967ea9936b4756a29a999b6d] | committer: Thomas Guillem

aout: alsa: force bitmap channel type

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3613414aa7352813967ea9936b4756a29a999b6d
---

 modules/audio_output/alsa.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c
index ec5a218233..7a363ce380 100644
--- a/modules/audio_output/alsa.c
+++ b/modules/audio_output/alsa.c
@@ -584,6 +584,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
         fmt->i_bytes_per_frame = AOUT_SPDIF_SIZE;
         fmt->i_frame_length = A52_FRAME_NB;
     }
+    fmt->channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
     sys->format = fmt->i_format;
 
     aout->time_get = TimeGet;



More information about the vlc-commits mailing list