Remove debug messages, cleanup output (2/2)
This commit is contained in:
parent
5d175786e8
commit
88df55f86d
@ -303,7 +303,9 @@ Butler::thread_work ()
|
||||
break;
|
||||
default:
|
||||
error << string_compose (_("Butler read ahead failure on dstream %1"), tr->name ()) << endmsg;
|
||||
#ifndef NDEBUG
|
||||
std::cerr << string_compose (_("Butler read ahead failure on dstream %1"), tr->name ()) << std::endl;
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
});
|
||||
@ -396,7 +398,9 @@ Butler::flush_tracks_to_disk_normal (std::shared_ptr<RouteList const> rl, uint32
|
||||
default:
|
||||
errors++;
|
||||
error << string_compose (_("Butler write-behind failure on dstream %1"), (*i)->name ()) << endmsg;
|
||||
#ifndef NDEBUG
|
||||
std::cerr << string_compose (_("Butler write-behind failure on dstream %1"), (*i)->name ()) << std::endl;
|
||||
#endif
|
||||
/* don't break - try to flush all streams in case they
|
||||
are split across disks.
|
||||
*/
|
||||
|
@ -419,7 +419,9 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
|
||||
if (available == 0 && !chaninfo->initialized) {
|
||||
disk_buf.silence (disk_samples_to_consume);
|
||||
} else if (disk_samples_to_consume > available) {
|
||||
#ifndef NDEBUG // not rt-safe to print here
|
||||
cerr << "underrun for " << _name << " Available samples: " << available << " required: " << disk_samples_to_consume << endl;
|
||||
#endif
|
||||
DEBUG_TRACE (DEBUG::Butler, string_compose ("%1 underrun in %2, total space = %3 vs %4\n", DEBUG_THREAD_SELF, name (), available, disk_samples_to_consume));
|
||||
Underrun ();
|
||||
return;
|
||||
|
@ -4630,7 +4630,6 @@ Session::config_changed (std::string p, bool ours)
|
||||
}
|
||||
} else if (p == "default-time-domain") {
|
||||
Temporal::TimeDomain td = config.get_default_time_domain ();
|
||||
std::cerr << "Setting time domain\n";
|
||||
set_time_domain (td);
|
||||
Config->set_preferred_time_domain(td); /* sync the global default time domain to this newly chosen one */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user