Skip to content

Commit

Permalink
* Just comment out some debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cannam committed Oct 14, 2004
1 parent b1593d3 commit 0e0ac98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions remotevstclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ RemoteVSTClient::queryPlugins(std::vector<PluginRecord> &plugins)
tryRead(fd, buffer, 64);
rec.pluginName = buffer;

std::cerr << "Plugin " << rec.pluginName << std::endl;
// std::cerr << "Plugin " << rec.pluginName << std::endl;

tryRead(fd, buffer, 64);
rec.vendorName = buffer;
Expand All @@ -275,25 +275,25 @@ RemoteVSTClient::queryPlugins(std::vector<PluginRecord> &plugins)
tryRead(fd, &rec.outputs, sizeof(int));
tryRead(fd, &rec.parameters, sizeof(int));

std::cerr << rec.parameters << " parameters" << std::endl;
// std::cerr << rec.parameters << " parameters" << std::endl;

for (int i = 0; i < rec.parameters; ++i) {
tryRead(fd, buffer, 64);
rec.parameterNames.push_back(std::string(buffer));
float f;
tryRead(fd, &f, sizeof(float));
rec.parameterDefaults.push_back(f);
std::cerr << "Parameter " << i << ": name " << buffer << ", default " << f << std::endl;
// std::cerr << "Parameter " << i << ": name " << buffer << ", default " << f << std::endl;
}

tryRead(fd, &rec.programs, sizeof(int));

std::cerr << rec.programs << " programs" << std::endl;
// std::cerr << rec.programs << " programs" << std::endl;

for (int i = 0; i < rec.programs; ++i) {
tryRead(fd, buffer, 64);
rec.programNames.push_back(std::string(buffer));
std::cerr << "Program " << i << ": name " << buffer << std::endl;
// std::cerr << "Program " << i << ": name " << buffer << std::endl;
}

plugins.push_back(rec);
Expand Down

0 comments on commit 0e0ac98

Please sign in to comment.