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

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


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jul 19 11:42:05 2017 +0200| [9e80adbc3105fb923e7701a283ce6942019b4a25] | committer: Thomas Guillem

aout: directsound: force bitmap channel type

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

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

diff --git a/modules/audio_output/directsound.c b/modules/audio_output/directsound.c
index b8639b7bbd..a38035121f 100644
--- a/modules/audio_output/directsound.c
+++ b/modules/audio_output/directsound.c
@@ -810,6 +810,8 @@ static HRESULT Start( vlc_object_t *obj, aout_stream_sys_t *sys,
         return ret;
     }
 
+    fmt.channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
+
     *pfmt = fmt;
     sys->b_playing = false;
     sys->i_write = 0;



More information about the vlc-commits mailing list