projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
the mega-properties/SequenceProperty patch. split is broken at present (right hand...
[ardour.git]
/
libs
/
surfaces
/
mackie
/
midi_byte_array.cc
diff --git
a/libs/surfaces/mackie/midi_byte_array.cc
b/libs/surfaces/mackie/midi_byte_array.cc
index 192af6a1ce3fe5f086b6815888ed8786eca1bae6..1c27c82be1c1e3f1cc6224f31e59ded21dead893 100644
(file)
--- a/
libs/surfaces/mackie/midi_byte_array.cc
+++ b/
libs/surfaces/mackie/midi_byte_array.cc
@@
-24,6
+24,7
@@
#include <algorithm>
#include <cstdarg>
#include <iomanip>
#include <algorithm>
#include <cstdarg>
#include <iomanip>
+#include <stdexcept>
using namespace std;
using namespace std;
@@
-96,3
+97,12
@@
ostream & operator << ( ostream & os, const MidiByteArray & mba )
os << "]";
return os;
}
os << "]";
return os;
}
+
+MidiByteArray & operator << ( MidiByteArray & mba, const std::string & st )
+{
+ for ( string::const_iterator it = st.begin(); it != st.end(); ++it )
+ {
+ mba << *it;
+ }
+ return mba;
+}