annotate tests/misc-queries/test-query-transforms @ 366:9f7297c47850

Update plugin handling to follow the smart pointers used in the svcore library. This is awkward in our context, and the outcome isn't a very nice one - but it does look as if we had the potential for use-after-free in cases where a plugin was both used "bare" and wrapped in an auto-deleting adapter; those should be fixed now
author Chris Cannam
date Thu, 23 Apr 2020 15:51:55 +0100
parents 92911f967a16
children
rev   line source
Chris@0 1
Chris@0 2 PREFIX vamp: <http://purl.org/ontology/vamp/>
Chris@0 3
Chris@0 4 SELECT ?transform ?plugin ?output ?program
Chris@0 5 ?step_size ?block_size ?window_type
Chris@0 6 ?sample_rate ?start ?duration
Chris@0 7
Chris@0 8 FROM <file:///work/runner/transforms/percussiononsets.n3>
Chris@0 9
Chris@0 10 WHERE {
Chris@0 11 ?transform a vamp:Transform ;
Chris@0 12 vamp:plugin ?plugin .
Chris@0 13 OPTIONAL { ?transform vamp:output ?output } .
Chris@0 14 OPTIONAL { ?transform vamp:program ?program } .
Chris@0 15 OPTIONAL { ?transform vamp:step_size ?step_size } .
Chris@0 16 OPTIONAL { ?transform vamp:block_size ?block_size } .
Chris@0 17 OPTIONAL { ?transform vamp:window_type ?window_type } .
Chris@0 18 OPTIONAL { ?transform vamp:sample_rate ?sample_rate } .
Chris@0 19 OPTIONAL { ?transform vamp:start ?start } .
Chris@0 20 OPTIONAL { ?transform vamp:duration ?duration }
Chris@0 21 }