Export dialog: tidy code, & remove some superfluous debug output

Remove some debug output, tidy up a few whitespace inconsistencies, use
DEBUG::Soundcloud in one more place, and zap a couple of unused variables.
This commit is contained in:
Colin Fletcher 2014-05-27 11:23:47 +01:00
parent 70308f5174
commit f0dbd6c085
5 changed files with 17 additions and 30 deletions

View file

@ -328,20 +328,15 @@ ExportHandler::finish_timespan ()
subs.insert (std::pair<char, std::string> ('s', session.path ()));
subs.insert (std::pair<char, std::string> ('n', session.name ()));
std::cerr << "running command: " << fmt->command() << "..." << std::endl;
ARDOUR::SystemExec *se = new ARDOUR::SystemExec(fmt->command(), subs);
se->ReadStdout.connect_same_thread(command_connection, boost::bind(&ExportHandler::command_output, this, _1, _2));
if (se->start (2) == 0) {
// successfully started
std::cerr << "started!" << std::endl;
while (se->is_running ()) {
// wait for system exec to terminate
// std::cerr << "waiting..." << std::endl;
Glib::usleep (1000);
}
}
std::cerr << "done! deleting..." << std::endl;
delete (se);
}