Skip to content

wasapi: fixed mapping of channel mask; 'channel-mask' field is not put in caps...

Mapping WASAPI channel mask to GST equivalent was going only over first nChannels elements of wasapi_to_gst_pos array, translating, for example, WASAPI's 0x63f to GST's 0x3f instead of 0xc3f.

When 'channel-mask' capability of value 0x0 is specified and there's need to do downmix or upmix it makes caps negotiation with audioconvert element impossible. That is, when mix-matrix is not specified audioconvert doesn't know what mix to do and if the mix-matrix is specified audioconvert replaces invalid 0x0 channel mask with default one making caps negotiation impossible.

Edited by Jacek Tomaszewski

Merge request reports