[vlc-devel] [RFI] Wasapi output restart on WinRT

Rémi Denis-Courmont remi at remlab.net
Mon May 16 18:54:56 CEST 2016


On Monday 16 May 2016 18:43:02 Jean-Baptiste Kempf 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.

Are you sure you creating a new client instance every time, and not reusing 
the same one as before?

I rejected that patch because that error cannot safely be ignored. In 
particular you could have mismatched audio formats.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list