- fully protect accesses to the libsoundtouch API that is not thread-safe. - fully protect accesses to GstPitch members that could be read by a downstream query thread while written by an upstream streaming thread or a user thread. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6247>