Exemplo n.º 1
0
void xapi_open_ltc(void *d) {
#if defined (HAVE_LTCSMPTE) || defined (HAVE_LTC)
#ifdef HAVE_MIDI
	midi_close();
#endif
	close_jack();
	open_ltcjack((char *) d); // TODO: autoconnect 
	if (ltcjack_connected())
		remote_printf(100,"opened LTC jack port.");
	else 
		remote_printf(405,"failed to connect to jack server");
#else
	remote_printf(499,"LTC-jack is not available.");
#endif
}
Exemplo n.º 2
0
static int oscb_ltcconnect (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data){
  open_ltcjack(NULL);
  return(0);
}