Check for unexpected gst async work
Only check state when we got a pipeline
Fix test build
Fix randomly failing tests
Use autoaudiosink
Add caps filter to get specific outformat
Set async if we are working asynchronously