removed obsolete lash name event call
authorAlex Montgomery <apmontgo@users.sourceforge.net>
Sun, 8 May 2011 12:22:42 +0000 (8 13:22 +0100)
committerAlex Montgomery <apmontgo@users.sourceforge.net>
Sun, 8 May 2011 12:22:42 +0000 (8 13:22 +0100)
common.c

index ebb0a8f..bc25c51 100644 (file)
--- a/common.c
+++ b/common.c
@@ -39,12 +39,6 @@ void init_lash(int argc, char* argv[])
    {
       printMMCMessage("Failed to connect to LASH. Session management will not occur.\n");
    }
-   else
-   {
-      lash_event_ptr = lash_event_new_with_type(LASH_Client_Name);
-      lash_event_set_string(lash_event_ptr, "jackctlmmc");
-      lash_send_event(g_lashc, lash_event_ptr);
-   }
    
    // register JACK and ALSA clients with lash
    lash_alsa_client_id(g_lashc, snd_seq_client_id(g_seq_ptr));
@@ -110,7 +104,6 @@ int jack_process_cb(jack_nframes_t numFrames, void* cbContext)
       for (midiIndex = 0; midiIndex < numMidiEvents; ++midiIndex)
       {
          jack_midi_event_get(&currEvent, inBuffer, midiIndex);
-         // printMMCMessage("0: %x 1: %x 2: %x 3: %x\n", currEvent.buffer[0], currEvent.buffer[1], currEvent.buffer[2], currEvent.buffer[3]);
          handle_midi(currEvent.buffer, settings);
       }
    }