13
0

* removed field Session::_desired_transport_speed since it is never used anywhere

git-svn-id: svn://localhost/ardour2/branches/3.0@4373 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Hans Baier 2009-01-01 22:01:53 +00:00
parent fa51acb211
commit 69ed2a3c27
2 changed files with 0 additions and 4 deletions

View File

@ -1024,7 +1024,6 @@ class Session : public PBD::StatefulDestructible
Slave* _slave; Slave* _slave;
bool _silent; bool _silent;
volatile float _transport_speed; volatile float _transport_speed;
volatile float _desired_transport_speed;
float _last_transport_speed; float _last_transport_speed;
bool auto_play_legal; bool auto_play_legal;
nframes_t _last_slave_transport_frame; nframes_t _last_slave_transport_frame;

View File

@ -1088,7 +1088,6 @@ Session::set_slave_source (SlaveSource src)
error << _("No MTC port defined: MTC slaving is impossible.") << endmsg; error << _("No MTC port defined: MTC slaving is impossible.") << endmsg;
return; return;
} }
_desired_transport_speed = _transport_speed;
break; break;
case MIDIClock: case MIDIClock:
@ -1105,12 +1104,10 @@ Session::set_slave_source (SlaveSource src)
error << _("No MIDI Clock port defined: MIDI Clock slaving is impossible.") << endmsg; error << _("No MIDI Clock port defined: MIDI Clock slaving is impossible.") << endmsg;
return; return;
} }
_desired_transport_speed = _transport_speed;
break; break;
case JACK: case JACK:
_slave = new JACK_Slave (_engine.jack()); _slave = new JACK_Slave (_engine.jack());
_desired_transport_speed = _transport_speed;
break; break;
}; };