xaudio2: Implement IXAudio2MasteringVoice::GetVoiceDetails.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
This commit is contained in:
Andrew Eikum 2015-09-28 13:55:53 -05:00 committed by Alexandre Julliard
parent 5cb954aa6a
commit b28b4cc18d
1 changed files with 3 additions and 0 deletions

View File

@ -1132,6 +1132,9 @@ static void WINAPI XA2M_GetVoiceDetails(IXAudio2MasteringVoice *iface,
{
IXAudio2Impl *This = impl_from_IXAudio2MasteringVoice(iface);
TRACE("%p, %p\n", This, pVoiceDetails);
pVoiceDetails->CreationFlags = 0;
pVoiceDetails->InputChannels = This->fmt.Format.nChannels;
pVoiceDetails->InputSampleRate = This->fmt.Format.nSamplesPerSec;
}
static HRESULT WINAPI XA2M_SetOutputVoices(IXAudio2MasteringVoice *iface,