mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-01 19:02:18 +00:00
9d703439f1
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>
21 lines
558 B
Plaintext
21 lines
558 B
Plaintext
include, location="pitch-test.meta"
|
|
pause
|
|
|
|
# The pitch element modifies the segment downstream, as the seek is done on
|
|
# the pipeline sink it takes this transformed segment as reference
|
|
|
|
checkpoint, text="Playback speed 1.0"
|
|
seek, start=0.0, stop=1.0, flags=accurate+flush, rate=1.0
|
|
play
|
|
wait, message-type=eos
|
|
|
|
checkpoint, text="Playback speed 2.0"
|
|
seek, start=0.0, stop=2.0, flags=accurate+flush, rate=2.0
|
|
wait, message-type=eos
|
|
|
|
checkpoint, text="Playback speed 0.5"
|
|
seek, start=0.0, stop=0.25, flags=accurate+flush, rate=0.5
|
|
wait, message-type=eos
|
|
|
|
stop
|