tests: wasapi: check PLAYING -> READY -> PLAYING
authorJakub Janků <janku.jakub.jj@gmail.com>
Sun, 11 Jul 2021 16:14:46 +0000 (18:14 +0200)
committerJakub Janků <janku.jakub.jj@gmail.com>
Mon, 12 Jul 2021 11:47:06 +0000 (13:47 +0200)
commitd83881d43a4a55d44d52ba250e26a5885f552c0f
tree96e0756b7d5363135df3e0b879b31b1eaf1148b6
parentf331082b207098f9268ba2fc8bd06db66d7da23e
tests: wasapi: check PLAYING -> READY -> PLAYING

Such sequence of state changes is valid and no error should happen.
At the moment, the test fails. Following patches aim to fix it.

Partially based on the code in tests/check/elements/wasapi2.c

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2096>
tests/check/elements/wasapi.c [new file with mode: 0644]
tests/check/meson.build