mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +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>
|
template<typename Time>
|
||||||
/*LIBEVORAL_API*/ std::ostream& operator<<(std::ostream& o, const Evoral::Event<Time>& ev) {
|
/*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;
|
o << std::hex;
|
||||||
for (uint32_t n = 0; n < ev.size(); ++n) {
|
for (uint32_t n = 0; n < ev.size(); ++n) {
|
||||||
o << ' ' << (int) ev.buffer()[n];
|
o << " 0x " << (int) ev.buffer()[n];
|
||||||
}
|
}
|
||||||
o << std::dec;
|
o << std::dec;
|
||||||
return o;
|
return o;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue