xaudio2: Zero the returned struct GetPerformanceData.

Some applications use this for debug logging. Better to return zero than
uninitialized data.
This commit is contained in:
Andrew Eikum 2015-08-25 14:28:54 -05:00 committed by Alexandre Julliard
parent 8a317d89cf
commit a79f050355
1 changed files with 2 additions and 0 deletions

View File

@ -1669,6 +1669,8 @@ static void WINAPI IXAudio2Impl_GetPerformanceData(IXAudio2 *iface,
IXAudio2Impl *This = impl_from_IXAudio2(iface);
FIXME("(%p)->(%p): stub!\n", This, pPerfData);
memset(pPerfData, 0, sizeof(*pPerfData));
}
static void WINAPI IXAudio2Impl_SetDebugConfiguration(IXAudio2 *iface,