iOS: no audio when mute switch is on (<> other apps)

When I have an Audio QML element in my app, the audio is muted on my iPhone XR when I have the (hardware) mute switch on
However, other apps (iTunes, news apps, podcasts, ...) do play audio in this case.