13
0

remove a few cerr outputs and change a couple to use cout, since they are not errors

This commit is contained in:
Paul Davis 2020-03-25 11:39:32 -06:00
parent 04aebc920e
commit f8b16e9e83
5 changed files with 6 additions and 10 deletions

View File

@ -527,7 +527,7 @@ ARDOUR_UI::load_session_from_startup_fsm ()
const BusProfile bus_profile = startup_fsm->bus_profile;
const bool session_was_not_named = !startup_fsm->session_name_edited;
std::cerr << " loading from " << session_path << " as " << session_name << " templ " << session_template << " is_new " << session_is_new << " bp " << bus_profile.master_out_channels << std::endl;
std::cout << " loading from " << session_path << " as " << session_name << " templ " << session_template << " is_new " << session_is_new << " bp " << bus_profile.master_out_channels << std::endl;
if (session_is_new) {

View File

@ -308,14 +308,8 @@ Editor::import_smf_tempo_map (Evoral::SMF const & smf, samplepos_t pos)
}
last_meter = meter;
cerr << "@ " << t->time_pulses/(double)smf.ppqn() << " ("
<< t->time_seconds << ") Add T " << tempo << " M " << meter << endl;
}
cerr << "NEW MAP:\n";
new_map.dump (cerr);
_session->tempo_map() = new_map;
}

View File

@ -873,7 +873,6 @@ ProgressWindow::progress (float prog, std::string const& text)
_bar.set_text (text);
}
if (prog < 0 || prog > 1) {
std::cerr << "pulse\n";
_bar.set_pulse_step(.1);
_bar.pulse();
} else {

View File

@ -329,7 +329,10 @@ int main (int argc, char *argv[])
#endif
#if ENABLE_NLS
#ifndef NDEBUG
cerr << "bind txt domain [" << PACKAGE << "] to " << localedir << endl;
#endif
(void) bindtextdomain (PACKAGE, localedir.c_str());
/* our i18n translations are all in UTF-8, so make sure
@ -383,7 +386,7 @@ int main (int argc, char *argv[])
}
if (no_splash) {
cerr << _("Copyright (C) 1999-2020 Paul Davis") << endl
cout << _("Copyright (C) 1999-2020 Paul Davis") << endl
<< _("Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker, Robin Gareus") << endl
<< endl
<< string_compose (_("%1 comes with ABSOLUTELY NO WARRANTY"), PROGRAM_NAME) << endl

View File

@ -178,7 +178,7 @@ _pingback (void *arg)
if ( return_str.length() > 140 ) { // like a tweet :)
std::cerr << "Announcement string is too long (probably behind a proxy)." << std::endl;
} else {
std::cerr << "Announcement is: " << return_str << std::endl;
std::cout << "Announcement is: " << return_str << std::endl;
//write announcements to local file, even if the
//announcement is empty