wasapisrc: Implement loopback recording
authorNirbheek Chauhan <nirbheek@centricular.com>
Tue, 3 Apr 2018 19:37:14 +0000 (01:07 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Tue, 3 Apr 2018 19:42:23 +0000 (01:12 +0530)
commitaffb0182c636948a69a309f07ea0c238b5c1bfa4
tree49eb096056eadfd9ca814f633cfcdd2d92287706
parent8649cef462226a67272edae764a3eca79c55051d
wasapisrc: Implement loopback recording

Now, when you set loopback=true on wasapisrc, the `device` property
should refer to a sink (render) device for loopback recording.

If the `device` property is not set, the default sink device is used.
sys/wasapi/gstwasapisink.c
sys/wasapi/gstwasapisrc.c
sys/wasapi/gstwasapisrc.h
sys/wasapi/gstwasapiutil.c
sys/wasapi/gstwasapiutil.h