13
0

Use info stream for infoey things.

git-svn-id: svn://localhost/ardour2/branches/3.0@5866 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-10-22 20:05:40 +00:00
parent 7919491f27
commit f820456bb7
5 changed files with 7 additions and 7 deletions

View File

@ -70,7 +70,7 @@ MidiPatchManager::refresh()
find_matching_files_in_directory(path_to_patches, pattern, result);
cerr << "Loading " << result.size() << " MIDI patches from " << path_to_patches.to_string() << endl;
info << "Loading " << result.size() << " MIDI patches from " << path_to_patches.to_string() << endl;
for (vector<path>::iterator i = result.begin(); i != result.end(); ++i) {
boost::shared_ptr<MIDINameDocument> document(new MIDINameDocument(i->to_string()));

View File

@ -90,7 +90,7 @@ RCConfiguration::load_state ()
}
if (statbuf.st_size != 0) {
cerr << string_compose (_("Loading system configuration file %1"), rcfile) << endl;
info << string_compose (_("Loading system configuration file %1"), rcfile) << endl;
if (!tree.read (rcfile.c_str())) {
error << string_compose(_("Ardour: cannot read system configuration file \"%1\""), rcfile) << endmsg;
@ -125,7 +125,7 @@ RCConfiguration::load_state ()
}
if (statbuf.st_size != 0) {
cerr << string_compose (_("Loading user configuration file %1"), rcfile) << endl;
info << string_compose (_("Loading user configuration file %1"), rcfile) << endl;
if (!tree.read (rcfile)) {
error << string_compose(_("Ardour: cannot read configuration file \"%1\""), rcfile) << endmsg;

View File

@ -156,7 +156,7 @@ Session::Session (AudioEngine &eng,
throw failed_constructor();
}
cerr << "Loading session " << fullpath << " using snapshot " << snapshot_name << " (1)" << endl;
info << "Loading session " << fullpath << " using snapshot " << snapshot_name << " (1)" << endl;
n_physical_outputs = _engine.n_physical_outputs(DataType::AUDIO);
n_physical_inputs = _engine.n_physical_inputs(DataType::AUDIO);
@ -242,7 +242,7 @@ Session::Session (AudioEngine &eng,
throw failed_constructor();
}
cerr << "Loading session " << fullpath << " using snapshot " << snapshot_name << " (2)" << endl;
info << "Loading session " << fullpath << " using snapshot " << snapshot_name << " (2)" << endl;
n_physical_outputs = _engine.n_physical_outputs (DataType::AUDIO);
n_physical_inputs = _engine.n_physical_inputs (DataType::AUDIO);

View File

@ -2936,7 +2936,7 @@ Session::restore_history (string snapshot_name)
const string xml_filename = legalize_for_path (snapshot_name) + history_suffix;
const sys::path xml_path = _session_dir->root_path() / xml_filename;
cerr << "Loading history from " << xml_path.to_string() << endmsg;
info << "Loading history from " << xml_path.to_string() << endmsg;
if (!sys::exists (xml_path)) {
info << string_compose (_("%1: no history file \"%2\" for this session."),

View File

@ -30,7 +30,7 @@ bool MackieControlProtocol::probe()
{
if ( MIDI::Manager::instance()->port( default_port_name ) == 0 )
{
cout << "No port called " << default_port_name << ". Add it to ardour.rc." << endmsg;
info << "Mackie: No MIDI port called " << default_port_name << endmsg;
return false;
}
else