mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Sync to Wine-20040914:
Robert Reif <reif@earthlink.net> - Don't try to find alternate formats for non PCM formats. svn path=/trunk/; revision=10913
This commit is contained in:
parent
601c767280
commit
0645493981
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ static DWORD wodOpen(LPDWORD lpdwUser, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
|
|||
}
|
||||
}
|
||||
|
||||
if ((dwFlags & WAVE_FORMAT_DIRECT) == 0) {
|
||||
if ((dwFlags & WAVE_FORMAT_DIRECT) == 0 && lpDesc->lpFormat->wFormatTag == WAVE_FORMAT_PCM) {
|
||||
WAVEFORMATEX wfx;
|
||||
|
||||
wfx.wFormatTag = WAVE_FORMAT_PCM;
|
||||
|
|
Loading…
Reference in a new issue