File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,10 @@ uint8_t MidiCommon :: frequencyToNote(float freq) {
110110void MidiCommon :: writeData(MidiMessage *msg, int len){
111111}
112112
113+ void MidiCommon :: write(MidiMessage *msg, int len){
114+ writeData (msg, len);
115+ }
116+
113117
114118
115119} // namespace
Original file line number Diff line number Diff line change @@ -125,6 +125,9 @@ class MidiCommon {
125125 // //! Determines the connection status
126126 virtual ConnectionStatus getConnectionStatus () { return connectionStatus; }
127127
128+ // ! Public proxy method to writeData
129+ void write (MidiMessage *msg, int len);
130+
128131 protected:
129132 void setConnectionStatus (ConnectionStatus status) {connectionStatus=status; }
130133 void updateTimestamp (MidiMessage *pMsg);
You can’t perform that action at this time.
0 commit comments