mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 13:16:27 +01:00
clean up unsafe use of printf() by commenting it out
This commit is contained in:
parent
5327cf7be7
commit
5838bcbe7c
1 changed files with 3 additions and 3 deletions
|
|
@ -463,9 +463,9 @@ SMFSource::append_event_samples (const Glib::Threads::Mutex::Lock& lock,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("SMFSource: %s - append_event_samples ID = %d time = %u, size = %u, data = ",
|
// printf("SMFSource: %s - append_event_samples ID = %d time = %u, size = %u, data = ",
|
||||||
name().c_str(), ev.id(), ev.time(), ev.size());
|
// name().c_str(), ev.id(), ev.time(), ev.size());
|
||||||
for (size_t i=0; i < ev.size(); ++i) printf("%X ", ev.buffer()[i]); printf("\n");
|
// for (size_t i=0; i < ev.size(); ++i) printf("%X ", ev.buffer()[i]); printf("\n");
|
||||||
|
|
||||||
if (ev.time() < _last_ev_time_samples) {
|
if (ev.time() < _last_ev_time_samples) {
|
||||||
warning << string_compose(_("Skipping event with unordered sample time %1 < %2"),
|
warning << string_compose(_("Skipping event with unordered sample time %1 < %2"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue