Make sure playback is paused before continuing player thread
Dont pause if we already have paused
Only query duration when needed
Assert for errors in tempo pitch test
Dont sleep when messages are waiting on gst_bus
Wait for state change before continuing