comparison src/vamp-hostsdk/PluginHostAdapter.cpp @ 240:7b90fe049d04

* Add --list-full to "simple" Vamp host
author cannam
date Mon, 10 Nov 2008 16:47:41 +0000
parents 7b12c3decc42
children 7d678f889789
comparison
equal deleted inserted replaced
239:cc467e52da4c 240:7b90fe049d04
325 d.name = sd->name; 325 d.name = sd->name;
326 d.description = sd->description; 326 d.description = sd->description;
327 d.unit = sd->unit; 327 d.unit = sd->unit;
328 d.hasFixedBinCount = sd->hasFixedBinCount; 328 d.hasFixedBinCount = sd->hasFixedBinCount;
329 d.binCount = sd->binCount; 329 d.binCount = sd->binCount;
330 if (d.hasFixedBinCount) { 330 if (d.hasFixedBinCount && sd->binNames) {
331 for (unsigned int j = 0; j < sd->binCount; ++j) { 331 for (unsigned int j = 0; j < sd->binCount; ++j) {
332 d.binNames.push_back(sd->binNames[j] ? sd->binNames[j] : ""); 332 d.binNames.push_back(sd->binNames[j] ? sd->binNames[j] : "");
333 } 333 }
334 } 334 }
335 d.hasKnownExtents = sd->hasKnownExtents; 335 d.hasKnownExtents = sd->hasKnownExtents;