gstreamer/subprojects/gst-plugins-base/tests/validate/audiotestsrc/reverse.validatetest

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
759 B
Text
Raw Normal View History

meta,
args = {
"audiotestsrc name=src samplesperbuffer=1024 ! audio/x-raw,format=S16LE,rate=44100 ! fakesink name=asink sync=true",
},
configs = {
"$(validateflow), pad=asink:sink, record-buffers=true",
},
handles-states=true,
ignore-eos=true
play;
seek, start=0.0, stop=0.5, rate=-1.0, flags=accurate+flush
crank-clock, expected-time=0.0
# roundup((44100 / 2 / 1024) - 1 (already cranked) + 1 (for eos)) = 22
crank-clock, repeat=22
set-property, target-element-name="src", property-name="samplesperbuffer", property-value=4410, on-message=eos
seek, start=0.0, stop=1.0, rate=-1.0, flags=accurate+flush
crank-clock, expected-elapsed-time=0.0
crank-clock, repeat=10, expected-elapsed-time=0.1
stop, on-message=eos;