wasapi2: Implement default audio channel mask
authorSeungha Yang <seungha@centricular.com>
Tue, 20 Apr 2021 09:37:15 +0000 (18:37 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 21 Apr 2021 05:18:49 +0000 (05:18 +0000)
commit33078bf54a15cf29000ee2bc160d3f12a66d4857
treef145697119b669896e4cdf11ed4ef004ec6cf3ef
parentf0ac468fb49af06bc5a4bfeead90a375d55a13c6
wasapi2: Implement default audio channel mask

Some capture devices might not provide channel mask value which will
result in capturing failure because of unknown channel mask in case
that device generates more than 2 channels. Although it might not
be correct, we can assume channel mask with the given number of channels.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2177>
sys/wasapi2/gstwasapi2client.cpp