wasapisink: pre-load the buffer with silence
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 7 Feb 2018 21:39:26 +0000 (03:09 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Thu, 8 Feb 2018 08:59:58 +0000 (14:29 +0530)
commit7f1d60da5bdb1be80fc1a88904e606ef6897aa14
treebb7afb0cb44dd13ac76a6d9971b36ed6e1bd76a5
parent4dbca8df0939c5388bc4b59a64085ab76588edc4
wasapisink: pre-load the buffer with silence

This reduces the chances of startup glitches, and also reduces the
chances that we'll get garbled output due to driver bugs.

Recommended by the WASAPI documentation.

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