mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 09:53:54 +00:00
winealsa: Disable channel remapping for capture devices.
This commit is contained in:
parent
5d17f9bc7c
commit
8fe52db332
@ -1162,7 +1162,7 @@ static DWORD get_channel_mask(unsigned int channels)
|
||||
|
||||
static HRESULT map_channels(ACImpl *This, const WAVEFORMATEX *fmt)
|
||||
{
|
||||
if(fmt->wFormatTag == WAVE_FORMAT_EXTENSIBLE || fmt->nChannels > 2){
|
||||
if(This->dataflow != eCapture && (fmt->wFormatTag == WAVE_FORMAT_EXTENSIBLE || fmt->nChannels > 2) ){
|
||||
WAVEFORMATEXTENSIBLE *fmtex = (void*)fmt;
|
||||
DWORD mask, flag = SPEAKER_FRONT_LEFT;
|
||||
UINT i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user