-Updated MIDI observer, crashing on usage
parent
83e868c264
commit
5545601b71
|
@ -30,6 +30,8 @@ void MidiObserver::registerMidiPorts(std::string name)
|
|||
JACK_DEFAULT_MIDI_TYPE,
|
||||
JackPortIsOutput,
|
||||
0 );
|
||||
|
||||
LUPPP_NOTE("%i, %i", jackInputPort, jackOutputPort );
|
||||
}
|
||||
|
||||
void MidiObserver::process(int nframes)
|
||||
|
|
|
@ -30,7 +30,7 @@ class MidiObserver
|
|||
|
||||
virtual void midi(unsigned char* data){};
|
||||
|
||||
protected:
|
||||
private:
|
||||
// there are jack_port_t* registered ports
|
||||
void* jackInputPort;
|
||||
void* jackOutputPort;
|
||||
|
|
Loading…
Reference in New Issue