comparison host/vamp-simple-host.cpp @ 84:af0d86b8b692

* Fix failure to default correctly if plugin output unspecified
author cannam
date Fri, 28 Sep 2007 09:53:46 +0000
parents 94a42248ec33
children d17b9ca3b8c9
comparison
equal deleted inserted replaced
83:94a42248ec33 84:af0d86b8b692
160 160
161 if (output != "" && outputNo != -1) { 161 if (output != "" && outputNo != -1) {
162 usage(name); 162 usage(name);
163 } 163 }
164 164
165 if (output == "" && outputNo == -1) {
166 outputNo = 0;
167 }
168
165 return runPlugin(name, soname, plugid, output, outputNo, wavname); 169 return runPlugin(name, soname, plugid, output, outputNo, wavname);
166 } 170 }
167 171
168 172
169 int runPlugin(string myname, string soname, string id, 173 int runPlugin(string myname, string soname, string id,