Logo Search packages:      
Sourcecode: patchage version File versions  Download package

void JackDriver::attach (  ) 

Connect to Jack

Definition at line 48 of file JackDriver.cpp.

{
      cout << "Connecting to Jack... ";
      
      m_client = jack_client_new("Patchage");
      if (m_client == NULL) {
            cerr << "could not connect to jack server." << endl;
            throw;
      }
      cout << "Done" << endl;
      
      jack_set_port_registration_callback(m_client, jack_port_registration_cb, this);
      jack_set_graph_order_callback(m_client, jack_graph_order_cb, this);

      jack_activate(m_client);
}


Generated by  Doxygen 1.6.0   Back to index