[SCM] calf/master: Support port groups for mono input.
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:41:04 UTC 2013
The following commit has been merged in the master branch:
commit 065af783322ed70a60f6ddc8ef122446a37dfca5
Author: David Robillard <d at drobilla.net>
Date: Sun Apr 15 22:38:07 2012 +0100
Support port groups for mono input.
diff --git a/src/makerdf.cpp b/src/makerdf.cpp
index 0f7fc58..79183c7 100644
--- a/src/makerdf.cpp
+++ b/src/makerdf.cpp
@@ -262,7 +262,11 @@ void make_ttl(string path_prefix)
}
#endif
- if(pi->get_input_count() >= 2) {
+ if(pi->get_input_count() == 1) {
+ ttl += ":in a pg:MonoGroup , pg:InputGroup ;\n"
+ " lv2:symbol \"in\" ;\n"
+ " rdfs:label \"Input\" .\n\n";
+ } else if(pi->get_input_count() >= 2) {
ttl += ":in a pg:StereoGroup , pg:InputGroup ;\n"
" lv2:symbol \"in\" ;\n"
" rdfs:label \"Input\" .\n\n";
@@ -311,7 +315,7 @@ void make_ttl(string path_prefix)
ttl += " lv2:optionalFeature <" LV2_STATE_URI "> ;\n";
}
- if(pi->get_input_count() >= 2) {
+ if(pi->get_input_count() >= 1) {
ttl += " pg:mainInput :in ;\n";
}
if(pi->get_output_count() >= 2) {
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list