[vlc-devel] [vlc-commits] wasapi: Don't fail if the client is already initialized

Rémi Denis-Courmont remi at remlab.net
Sun Mar 1 10:11:11 CET 2015


Le vendredi 27 février 2015, 15:58:22 Rémi Denis-Courmont a écrit :
> > I'll assume "this" means "not initializing an audio client for each
> > playback". Fair enough, though I didn't see it as an issue since it
> > doesn't change the behavior when the client has been initialized.
> 
> Yes it does, especially if the PROPVARIANT pointer is non-NULL.

Err no, that's for IMMDevice::Activate(). For IAudioClient::Initialize(), the 
existing problem is worst: the WAVEFORMAT can change across calls.

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




More information about the vlc-devel mailing list