mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-05 22:34:56 +01:00
Evoral::Event show event address in operator<<
This commit is contained in:
parent
c2c411a982
commit
0459902b9a
1 changed files with 2 additions and 2 deletions
|
|
@ -221,10 +221,10 @@ protected:
|
|||
|
||||
template<typename Time>
|
||||
/*LIBEVORAL_API*/ std::ostream& operator<<(std::ostream& o, const Evoral::Event<Time>& ev) {
|
||||
o << "Event #" << ev.id() << " type = " << ev.event_type() << " @ " << ev.time();
|
||||
o << "Event #" << ev.id() << " @" << &ev << " type = " << ev.event_type() << " @ " << ev.time();
|
||||
o << std::hex;
|
||||
for (uint32_t n = 0; n < ev.size(); ++n) {
|
||||
o << ' ' << (int) ev.buffer()[n];
|
||||
o << " 0x " << (int) ev.buffer()[n];
|
||||
}
|
||||
o << std::dec;
|
||||
return o;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue