-Fixed GUI registration, working on MIDI output from GenericMIDI class
parent
6db8c2ee24
commit
5a7974b953
|
@ -167,6 +167,7 @@ void Jack::activate()
|
|||
//Controller* m = new GenericMIDI("akai_apc.ctlr","apc");
|
||||
|
||||
Controller* gui = new LupppGUI();
|
||||
controllerUpdater->registerController( gui );
|
||||
|
||||
if ( !gui )
|
||||
{
|
||||
|
|
|
@ -17,7 +17,7 @@ MidiObserver::MidiObserver() :
|
|||
|
||||
void MidiObserver::writeMidi( unsigned char* data )
|
||||
{
|
||||
void* portBuffer = jack_port_get_buffer( jackInputPort, jack->getBuffersize() );
|
||||
void* portBuffer = jack_port_get_buffer( jackOutputPort, jack->getBuffersize() );
|
||||
|
||||
unsigned char* buffer = jack_midi_event_reserve( portBuffer, 0, 3);
|
||||
if( buffer == 0 )
|
||||
|
|
Loading…
Reference in New Issue