void Transport::start ( void ) { // MESSAGE( "Starting transport" ); if ( _record_button->value() ) { rolling = true; update_record_state(); } jack_transport_start( client ); }
/** cb_button * common handler for all transport buttons */ void Transport::cb_button ( Fl_Widget *w ) { if ( w == _home_button ) locate( 0 ); else if ( w == _end_button ) locate( timeline->length() ); else if ( w == _play_button ) toggle(); else if ( w == _record_button ) update_record_state(); }
void Transport::start ( void ) { // MESSAGE( "Starting transport" ); if ( _record_button->value() ) { rolling = true; update_record_state(); } if ( engine ) engine->transport_start(); }
/** cb_button * common handler for all transport buttons */ void Transport::cb_button ( Fl_Widget *w ) { if ( w == _home_button ) locate( timeline->playback_home() ); else if ( w == _end_button ) locate( timeline->playback_end() ); else if ( w == _play_button ) toggle(); else if ( w == _record_button ) update_record_state(); else if ( w == _punch_button ) timeline->redraw(); }
void Transport::stop ( void ) { // MESSAGE( "Stopping transport" ); if ( _record_button->value() ) { if ( _stop_disables_record ) _record_button->value( 0 ); update_record_state(); } jack_transport_stop( client ); }
void Transport::stop ( void ) { // MESSAGE( "Stopping transport" ); if ( _record_button->value() ) { if ( _stop_disables_record ) _record_button->value( 0 ); timeline->_created_new_takes = false; update_record_state(); } if ( engine ) engine->transport_stop(); }
void Transport::toggle_record ( void ) { _record_button->value( ! _record_button->value() ); update_record_state(); }