commit | 8494f1e709649234c6c7ed4ededd7a9a5f4852a3 | [log] [tgz] |
---|---|---|
author | Nirbheek Chauhan <nirbheek@centricular.com> | Tue May 09 16:06:10 2017 +0530 |
committer | Nirbheek Chauhan <nirbheek@centricular.com> | Fri May 12 14:51:10 2017 +0530 |
tree | e76a47fe0d24fd148bfd96f20a81f4787c290b54 | |
parent | 6026d12d90e5b86da1110ecd8873a7fcdcc43348 [diff] |
directsoundsrc: Use a GstClockID to wait instead of Sleep() The main advantage is that our sleeps can be interrupted in case of an src_reset(). Earlier, we would need to wait for a read to complete before we could do a reset, which could take a long time. https://bugzilla.gnome.org/show_bug.cgi?id=781249