gstreamer/subprojects/gst-plugins-bad/tests/validate/pitch/pitch-test.meta
Loïc Le Page 9d703439f1 pitch: add validate tests
Add pitch tests with different forward and backward playback rates.
Those tests depend on the libSoundTouch version to validate the buffers
checksums. The actual version uses libSoundTouch 2.3.2, use the
`--force-fallback-for=soundtouch` meson option to build using the same
version.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6247>
2024-05-02 13:26:09 +02:00

15 lines
926 B
Text

# Common metadatas to check the pitch element behavior.
# Add `include, location="pitch-test.meta" to setup a test with this file.
set-globals, media_dir="$(test_dir)/../../files"
meta,
handles-states=true,
ignore-eos=true,
seek=true,
args = {
"filesrc location=\"$(media_dir)/audio-8s-then-reverse.ogg\" ! decodebin ! audioconvert ! queue ! pitch name=pitch ! fakesink sync=true",
},
configs = {
"$(validateflow), pad=pitch:src, buffers-checksum=true, ignored-fields=\"stream-start={stream-id,group-id,stream}\", ignored-event-types={tag,stream-group-done,flush-start,flush-stop}",
}
checkpoint, text="If the libSoundTouch version or compilation optimization change, buffers checksums may differ. Tests done with libSoundTouch version: 2.3.2 in debugoptimized. Configure meson with `--force-fallback-for=soundtouch` and the default debugoptimized build type to use the same version."