| 12345678910111213141516171819 | 
							- #include "Output.h"
 
- #include <vector>
 
- namespace midi {
 
- void Output::sendMessage(const Message& message)
 
- {
 
- 	std::vector<unsigned char> bytes = message.getBytes();
 
- 	RtMidiOut::sendMessage(&bytes);
 
- }
 
- void Output::sendMessages(const MessageList& messageList)
 
- {
 
-     for(auto it = messageList.begin(); it != messageList.end(); it++) {
 
-         sendMessage(**it);
 
-     }
 
- }
 
- } // namespace
 
 
  |