winealsa: Support up to 6 channels.

This commit is contained in:
Mark Harmstone 2014-12-31 21:34:47 +00:00 committed by Alexandre Julliard
parent 52345858d0
commit a3f33daa6a
1 changed files with 2 additions and 2 deletions

View File

@ -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;