winecoreaudio: Accept up to 8 channels.
This commit is contained in:
parent
55fca7778b
commit
b16fc0e163
|
@ -449,7 +449,7 @@ static BOOL supportedFormat(LPWAVEFORMATEX wf)
|
|||
WAVEFORMATEXTENSIBLE * wfex = (WAVEFORMATEXTENSIBLE *)wf;
|
||||
|
||||
if (wf->cbSize == 22 && IsEqualGUID(&wfex->SubFormat, &KSDATAFORMAT_SUBTYPE_PCM)) {
|
||||
if (wf->nChannels >=1 && wf->nChannels <= 2) {
|
||||
if (wf->nChannels >=1 && wf->nChannels <= 8) {
|
||||
if (wf->wBitsPerSample==wfex->Samples.wValidBitsPerSample) {
|
||||
if (wf->wBitsPerSample==8||wf->wBitsPerSample==16)
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in New Issue