winecoreaudio: Eliminate some unnecessary code.

The WAVE_DIRECTSOUND bit of dwFlags isn't examined, so no point in correcting
it.
This commit is contained in:
Ken Thomases 2009-04-11 07:18:10 -05:00 committed by Alexandre Julliard
parent 0c2514bd8f
commit ff0ff663c3
1 changed files with 0 additions and 5 deletions

View File

@ -826,11 +826,6 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
return MMSYSERR_ERROR;
}
if ((dwFlags & WAVE_DIRECTSOUND) &&
!(wwo->caps.dwSupport & WAVECAPS_DIRECTSOUND))
/* not supported, ignore it */
dwFlags &= ~WAVE_DIRECTSOUND;
streamFormat.mFormatID = kAudioFormatLinearPCM;
streamFormat.mFormatFlags = kLinearPCMFormatFlagIsPacked;
/* FIXME check for 32bits float -> kLinearPCMFormatFlagIsFloat */