wasapi: Cover more HRESULT error messages
authorNirbheek Chauhan <nirbheek@centricular.com>
Tue, 6 Feb 2018 18:26:41 +0000 (23:56 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Thu, 8 Feb 2018 08:59:58 +0000 (14:29 +0530)
commit624de04fdb730fd87eead407651172a7acb1d16b
tree58676a287b3f0742ef3dfc42a596db3b9f92493c
parent62b6224e37e180498990ba7d79a09bf87889e520
wasapi: Cover more HRESULT error messages

This requires using allocated strings, but it's the best option. For
instance, a call could fail because CoInitialize() wasn't called, or
because some other thing in the stack failed.

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