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

Thomas Guillem git at videolan.org
Wed Jul 19 18:59:26 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jul 19 11:50:25 2017 +0200| [6f5ebd0b1e09b2bf07e60e7868e9e9b10274af45] | committer: Thomas Guillem

aout: waveout: force bitmap channel type

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

 modules/audio_output/waveout.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/audio_output/waveout.c b/modules/audio_output/waveout.c
index ce5d2f308e..028d083322 100644
--- a/modules/audio_output/waveout.c
+++ b/modules/audio_output/waveout.c
@@ -328,6 +328,8 @@ static int Start( audio_output_t *p_aout, audio_sample_format_t *restrict fmt )
     p_aout->sys->i_played_length = 0;
     p_aout->sys->p_free_list = NULL;
 
+    fmt->channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
+
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list