• Jacek Tomaszewski's avatar
    wasapi: Fixed corner-cases in mapping of channel mask · 60146e30
    Jacek Tomaszewski authored
    'channel-mask' field should not be put in caps if channel mask is 0x0
    
    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' is specified as NULL, it signifies that there's
    need to do downmix or upmix and it makes caps negotiation with
    audioconvert element impossible. Just omit it.
    Signed-off-by: Nirbheek Chauhan's avatarNirbheek Chauhan <nirbheek@centricular.com>
    60146e30
Name
Last commit
Last update
common @ 59cb6781 Loading commit data...
docs Loading commit data...
ext Loading commit data...
gst Loading commit data...
gst-libs Loading commit data...
hooks Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
po Loading commit data...
sys Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.static-linking Loading commit data...
RELEASE Loading commit data...
REQUIREMENTS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-plugins-bad.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...