mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
midisurface: add a vector constructor for MidByteArry
plus a few minor code tweaks
This commit is contained in:
parent
7e0315bc5e
commit
599998bd1f
2 changed files with 13 additions and 9 deletions
|
|
@ -48,9 +48,11 @@ namespace MIDI {
|
|||
class MidiByteArray : public std::vector<MIDI::byte>
|
||||
{
|
||||
public:
|
||||
MidiByteArray() : std::vector<MIDI::byte>() {}
|
||||
MidiByteArray () : std::vector<MIDI::byte>() {};
|
||||
|
||||
MidiByteArray( size_t count, MIDI::byte array[] );
|
||||
MidiByteArray (std::vector<MIDI::byte> const & vec);
|
||||
|
||||
MidiByteArray (size_t count, MIDI::byte array[]);
|
||||
|
||||
bool compare_n (const MidiByteArray& other, MidiByteArray::size_type len) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue