wasapi: Implement support for >2 channels
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 24 Jan 2018 02:50:38 +0000 (08:20 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 31 Jan 2018 09:28:21 +0000 (14:58 +0530)
commitd6d31064b4c530711f2e382ddc20eab922a24328
treee3ebf4eec3993945b3f4f7c8aa61c0db2a9614de
parentf75c7823dd18de683a99db8daddb26d85820828b
wasapi: Implement support for >2 channels

We need to parse the WAVEFORMATEXTENSIBLE structure, figure out what
positions the channels have (if they are positional), and reorder them
as necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=792897
sys/wasapi/gstwasapisink.c
sys/wasapi/gstwasapisink.h
sys/wasapi/gstwasapisrc.c
sys/wasapi/gstwasapisrc.h
sys/wasapi/gstwasapiutil.c
sys/wasapi/gstwasapiutil.h