winecoreaudio.drv: Initialize audio description flags.

This commit is contained in:
Andrew Eikum 2011-06-13 15:23:14 -05:00 committed by Alexandre Julliard
parent bc10fd3ce6
commit 4b62257b14

View file

@ -604,6 +604,8 @@ static HRESULT ca_get_audiodesc(AudioStreamBasicDescription *desc,
{
const WAVEFORMATEXTENSIBLE *fmtex = (const WAVEFORMATEXTENSIBLE *)fmt;
desc->mFormatFlags = 0;
if(fmt->wFormatTag == WAVE_FORMAT_PCM ||
(fmt->wFormatTag == WAVE_FORMAT_EXTENSIBLE &&
IsEqualGUID(&fmtex->SubFormat, &KSDATAFORMAT_SUBTYPE_PCM))){