[vlc-devel] [RFI] Wasapi output restart on WinRT
Steve Lhomme
robux4 at gmail.com
Mon May 16 18:52:23 CEST 2016
On Mon, May 16, 2016 at 6:43 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> Hello,
>
> Attached is a (refused in the past) patch to fix an issue that happens ONLY
> on WinRT: (win32 is totally fine)
>
> - even if IAudioClient_Stop and Release are called on Stop(), on the next
> Start(), the IAudioClient_Initialize call fails saying that
> AUDCLNT_E_ALREADY_INITIALIZED, which is of course, wrong/weird.
>
>
> Request For Ideas:
> ------------------
> It is possible that the issue is because of the UI is calling
> ActivateAudioInterfaceAsync to create the IAudioClient, but it seems to be
> the official way of doing so, on WinRT.
> And still this is weird.
>
> We've tried to call _Reset(), but that does not change a thing to the
> behavior
>
> We've tried on numerous machines on 8.1 and 10 and we've seen it many times.
>
> Should we apply the patch? Should we do something different for WinRT, with
> ifdefs? Should we do something else? Any cool idea?
Maybe a #if VLC_WINSTORE_APP would be sufficient ?
> Thanks,
>
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
More information about the vlc-devel
mailing list