[vlc-devel] [PATCH 3/5] wasapi: don't overwrite shared_mode

Thomas Guillem thomas at gllm.fr
Thu Oct 24 14:37:11 CEST 2019


It was needed when the module handled the passthrough -> PCM fallback itself.
---
 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 d593cbe630c..d6105169b8e 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;
     }
-- 
2.20.1



More information about the vlc-devel mailing list