wasm: honor the start-suspended contract in the Web Audio sink
QRtAudioEngine starts its sink and suspends it immediately, before the
AudioWorklet module has finished loading asynchronously. Both guards
rejected any call made before the worklet was connected, so that initial
suspend was dropped and the sink started playing regardless.
Drop the m_running check from suspend() and resume(), and report the
state the sink actually ended up in once the worklet connects, instead
of unconditionally announcing ActiveState.
Pick-to: 6.12
Change-Id: Ic0e2c90269cda5967e5cc9f98eb9f751d57ec83f
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>