[vlc-devel] [PATCH V2 6/8] wasapi: don't overwrite shared_mode

Thomas Guillem thomas at gllm.fr
Fri Nov 8 18:13:12 CET 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 3bb7d40ef33..5e1885d45d2 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -671,7 +671,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