See https://gitlab.freedesktop.org/philn/gst-plugins-bad/-/tree/audio-meta-adapter-test and gst-plugins-rs!332 (comment 580659)