summaryrefslogtreecommitdiff
path: root/decoder/test/ir_irmp
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2022-04-23 15:29:09 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2022-04-23 16:29:58 +0200
commit450d475b2bfc3e73d56580e0061a508fa67972b0 (patch)
tree4076122a3ddde49c94f7460c097258f28b4b30b5 /decoder/test/ir_irmp
parent15cc940fb8d79ffee3f41d269998901861a542c7 (diff)
downloadsigrok-test-450d475b2bfc3e73d56580e0061a508fa67972b0.tar.gz
sigrok-test-450d475b2bfc3e73d56580e0061a508fa67972b0.zip
runtc: cope with "late" samplerate announcement
The previous implementation expected a rather specific sequence of SR_DF_HEADER with samplerate, then SR_DF_LOGIC. This worked with .sr formatted session files. But does not work with other input formats. Also process SR_DF_META packets. Pass any samplerate that we learn about to decoders' .metadata() method. Defer decoders' .start() until the first logic samples are seen. This improves robustness of the decoder tests.
Diffstat (limited to 'decoder/test/ir_irmp')
0 files changed, 0 insertions, 0 deletions