[vlc-devel] [PATCH] audio_output: winstore: fix function signature

Romain Vimont rom1v at videolabs.io
Thu Jul 11 16:03:37 CEST 2019


Fix aout_stream_Start (passed to vlc_module_load()) to match the
signature of vlc_activate_t.
---
 modules/audio_output/winstore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/winstore.c b/modules/audio_output/winstore.c
index 8cce31125f..6b9610ddea 100644
--- a/modules/audio_output/winstore.c
+++ b/modules/audio_output/winstore.c
@@ -207,7 +207,7 @@ static HRESULT ActivateDevice(void *opaque, REFIID iid, PROPVARIANT *actparms,
     return S_OK;
 }
 
-static int aout_stream_Start(void *func, va_list ap)
+static int aout_stream_Start(void *func, bool forced, va_list ap)
 {
     aout_stream_start_t start = func;
     aout_stream_t *s = va_arg(ap, aout_stream_t *);
-- 
2.20.1



More information about the vlc-devel mailing list