[vlc-commits] wasapi: don't overwrite shared_mode

Thomas Guillem git at videolan.org
Tue Nov 26 15:30:14 CET 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Oct 23 11:43:03 2019 +0200| [7faa2b7745c7ed915d48993f399f8034958c5504] | committer: Thomas Guillem

wasapi: don't overwrite shared_mode

It was needed when the module handled the passthrough -> PCM fallback itself.

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

 modules/audio_output/wasapi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/audio_output/wasapi.c b/modules/audio_output/wasapi.c
index d593cbe630..d6105169b8 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -668,7 +668,6 @@ static HRESULT Start(aout_stream_t *s, audio_sample_format_t *restrict pfmt,
             hr = E_INVALIDARG;
             goto error;
         }
-        shared_mode = AUDCLNT_SHAREMODE_SHARED;
         msg_Dbg(s, "modified format");
         pwf = pwf_closest;
     }



More information about the vlc-commits mailing list