Mercurial > hg > sonic-annotator
view 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 |
line wrap: on
line source
PREFIX vamp: <http://purl.org/ontology/vamp/> SELECT ?transform ?plugin ?output ?program ?step_size ?block_size ?window_type ?sample_rate ?start ?duration FROM <file:///work/runner/transforms/percussiononsets.n3> WHERE { ?transform a vamp:Transform ; vamp:plugin ?plugin . OPTIONAL { ?transform vamp:output ?output } . OPTIONAL { ?transform vamp:program ?program } . OPTIONAL { ?transform vamp:step_size ?step_size } . OPTIONAL { ?transform vamp:block_size ?block_size } . OPTIONAL { ?transform vamp:window_type ?window_type } . OPTIONAL { ?transform vamp:sample_rate ?sample_rate } . OPTIONAL { ?transform vamp:start ?start } . OPTIONAL { ?transform vamp:duration ?duration } }