mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
winealsa: Support up to 6 channels.
This commit is contained in:
parent
52345858d0
commit
a3f33daa6a
@ -1830,8 +1830,8 @@ static HRESULT WINAPI AudioClient_GetMixFormat(IAudioClient *iface,
|
||||
goto exit;
|
||||
}
|
||||
|
||||
if(max_channels > 2)
|
||||
fmt->Format.nChannels = 2;
|
||||
if(max_channels > 6)
|
||||
fmt->Format.nChannels = 6;
|
||||
else
|
||||
fmt->Format.nChannels = max_channels;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user