mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-25 07:57:43 +01:00
make output of SessionEventManager::dump_events() a bit more readable
This commit is contained in:
parent
9e8fe5e107
commit
dd1a701f21
1 changed files with 4 additions and 3 deletions
|
|
@ -125,7 +125,8 @@ SessionEventManager::dump_events () const
|
|||
{
|
||||
cerr << "EVENT DUMP" << endl;
|
||||
for (Events::const_iterator i = events.begin(); i != events.end(); ++i) {
|
||||
cerr << "\tat " << (*i)->action_frame << ' ' << (*i)->type << " target = " << (*i)->target_frame << endl;
|
||||
|
||||
cerr << "\tat " << (*i)->action_frame << ' ' << enum_2_string ((*i)->type) << " target = " << (*i)->target_frame << endl;
|
||||
}
|
||||
cerr << "Next event: ";
|
||||
|
||||
|
|
@ -133,12 +134,12 @@ SessionEventManager::dump_events () const
|
|||
cerr << "none" << endl;
|
||||
} else {
|
||||
cerr << "at " << (*next_event)->action_frame << ' '
|
||||
<< (*next_event)->type << " target = "
|
||||
<< enum_2_string ((*next_event)->type) << " target = "
|
||||
<< (*next_event)->target_frame << endl;
|
||||
}
|
||||
cerr << "Immediate events pending:\n";
|
||||
for (Events::const_iterator i = immediate_events.begin(); i != immediate_events.end(); ++i) {
|
||||
cerr << "\tat " << (*i)->action_frame << ' ' << (*i)->type << " target = " << (*i)->target_frame << endl;
|
||||
cerr << "\tat " << (*i)->action_frame << ' ' << enum_2_string((*i)->type) << " target = " << (*i)->target_frame << endl;
|
||||
}
|
||||
cerr << "END EVENT_DUMP" << endl;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue