directsoundsink: Use GstClock API instead of Sleep() for waiting
authorDustin Spicuzza <dustin@virtualroadside.com>
Mon, 8 May 2017 15:22:00 +0000 (15:22 +0000)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 8 May 2017 15:34:18 +0000 (17:34 +0200)
commit7d7be9be9801e1d2ccb440643011e25a5f684b7b
tree19b28eb059cc27fffca2f0aa04d62f7fe80e1552
parentf7e6e07744925fba7e9a98f19ad51cf5caa27c59
directsoundsink: Use GstClock API instead of Sleep() for waiting

It's more accurate and allows cancellation.

https://bugzilla.gnome.org/show_bug.cgi?id=773681
sys/directsound/gstdirectsoundsink.c
sys/directsound/gstdirectsoundsink.h