Mercurial > hg > piper-cpp
comparison vamp-support/RdfTypes.h @ 224:16655424db89
More notes on rdf layout
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 09 Jun 2017 16:25:43 +0100 |
parents | a29ce4af17bc |
children | 025b3e2f7c17 |
comparison
equal
deleted
inserted
replaced
223:a29ce4af17bc | 224:16655424db89 |
---|---|
63 | 63 |
64 StaticOutputInfo info; | 64 StaticOutputInfo info; |
65 SordModel *model = sord_new(m_world, SORD_SPO|SORD_OPS|SORD_POS, false); | 65 SordModel *model = sord_new(m_world, SORD_SPO|SORD_OPS|SORD_POS, false); |
66 if (loadRdf(model, candidateRdfFilesFor(pluginKey))) { | 66 if (loadRdf(model, candidateRdfFilesFor(pluginKey))) { |
67 // we want to find a graph like | 67 // we want to find a graph like |
68 // :plugin a vamp:Plugin | |
69 // :plugin vamp:identifier "pluginId" | |
70 // :library vamp:available_plugin :plugin | |
71 // :library vamp:identifier "libraryId" | |
68 // :plugin vamp:output :output1 | 72 // :plugin vamp:output :output1 |
69 // :plugin vamp:output :output2 | 73 // :plugin vamp:output :output2 |
70 // :plugin vamp:output :output3 | 74 // :plugin vamp:output :output3 |
71 // :output1 vamp:computes_event_type :event | 75 // :output1 vamp:computes_event_type :event |
72 // :output2 vamp:computes_feature :feature | 76 // :output2 vamp:computes_feature :feature |
73 // :output3 vamp:computes_signal_type :signal | 77 // :output3 vamp:computes_signal_type :signal |
78 // and where pluginKey == libraryId + ":" + pluginId | |
74 } | 79 } |
75 sord_free(model); | 80 sord_free(model); |
76 return info; | 81 return info; |
77 } | 82 } |
78 | 83 |