audiomixer: Replace racy timeout based tested with drain query
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Thu, 22 Jan 2015 22:41:24 +0000 (17:41 -0500)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 29 Jan 2015 09:24:18 +0000 (10:24 +0100)
commit0955a39a3d7bd1b7e57073c58ef481ee6392347e
tree71a0203c65e25e492d6855af88be2dec1dcb25cc
parent402c0d4c5cb979af4b860bb831ddd0017d847afb
audiomixer: Replace racy timeout based tested with drain query

Using the drain query, we can be certain that the buffer has done going
through the aggregator by taking the stream locks.

https://bugzilla.gnome.org/show_bug.cgi?id=742684
tests/check/elements/audiomixer.c