comparison host/vamp-simple-host.cpp @ 45:39be57dd4eb7

* add output names as well as descriptions
author cannam
date Fri, 10 Nov 2006 17:47:15 +0000
parents 3bbe244611bb
children 2858c897d90f
comparison
equal deleted inserted replaced
44:ce61ad9b9159 45:39be57dd4eb7
405 Vamp::Plugin::OutputList outputs = 405 Vamp::Plugin::OutputList outputs =
406 plugin.getOutputDescriptors(); 406 plugin.getOutputDescriptors();
407 if (outputs.size() > 1) { 407 if (outputs.size() > 1) {
408 for (size_t j = 0; j < outputs.size(); ++j) { 408 for (size_t j = 0; j < outputs.size(); ++j) {
409 cerr << " (" << j << ") " 409 cerr << " (" << j << ") "
410 << outputs[j].description << endl; 410 << outputs[j].description
411 << ", \"" << outputs[j].name << "\""
412 << endl;
411 } 413 }
412 } 414 }
413 ++index; 415 ++index;
414 } 416 }
415 } 417 }