Permalink
Browse files

Output device number in message dump

  • Loading branch information...
noahadler committed Dec 4, 2011
1 parent c1a1f59 commit 108e81cdf1830d090402fdf4677734ac23e7c710
Showing with 1 addition and 0 deletions.
  1. +1 −0 main.cpp
View
@@ -123,6 +123,7 @@ void midiInputCallback(double deltatime, std::vector<unsigned char> *message, vo
// output the MIDI message
std::cout << std::setprecision(10) << std::setw(8)
+ << "INP" << device << '\t'
<< timestamp << '\t'
<< std::setw(8) << deltatime << device << std::hex;
for (unsigned int i=0; i<nBytes; ++i)

0 comments on commit 108e81c

Please sign in to comment.