try
{
Button & button = route_signal->strip().solo();
-#ifdef DEBUG
- cout << "updating " << button << endl;
-#endif
route_signal->port().write( builder.build_led( button, route_signal->route().soloed() ) );
}
catch( exception & e )
try
{
Button & button = route_signal->strip().mute();
-#ifdef DEBUG
- cout << "updating " << button << endl;
-#endif
route_signal->port().write( builder.build_led( button, route_signal->route().muted() ) );
}
catch( exception & e )
try
{
Button & button = route_signal->strip().recenable();
-#ifdef DEBUG
- cout << "updating " << button << endl;
-#endif
route_signal->port().write( builder.build_led( button, route_signal->route().record_enabled() ) );
}
catch( exception & e )
try
{
Fader & fader = route_signal->strip().gain();
-#ifdef DEBUG
- cout << "updating " << fader << endl;
-#endif
if ( !fader.in_use() )
{
route_signal->port().write( builder.build_fader( fader, route_signal->route().gain_control().get_value() ) );
try
{
Pot & pot = route_signal->strip().vpot();
-#ifdef DEBUG
- cout << "updating " << pot << endl;
-#endif
const Panner & panner = route_signal->route().panner();
if ( panner.size() == 1 || ( panner.size() == 2 && panner.linked() ) )
{
);
// allow a quick double to go past a previous mark
- if ( elapsed < 500 && loc != 0)
+ if ( session->transport_rolling() && elapsed < 500 && loc != 0 )
{
Location * loc_two_back = session->locations()->first_location_before ( loc->start() );
if ( loc_two_back != 0 )