[vlc-commits] audio_output: winstore: fix function signature

Romain Vimont git at videolan.org
Tue Jul 16 10:14:09 CEST 2019


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Thu Jul 11 16:03:37 2019 +0200| [52f7dbabe58ea5d3c4de74f839cf4d58189cfd9b] | committer: Jean-Baptiste Kempf

audio_output: winstore: fix function signature

Fix aout_stream_Start (passed to vlc_module_load()) to match the
signature of vlc_activate_t.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 *);



More information about the vlc-commits mailing list