void
Session::enable_record ()
{
- if (_transport_speed < 0.0) {
- /* no recording in reverse */
+ if (_transport_speed != 0.0 || _transport_speed != 1.0) {
+ /* no recording at anything except normal speed */
return;
}
boost::shared_ptr<RouteList> t (new RouteList);
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
- if (include_buses || boost::dynamic_pointer_cast<Track>(*i)) {
+ /* no MIDI sends because there are no MIDI busses yet */
+ if (include_buses || boost::dynamic_pointer_cast<AudioTrack>(*i)) {
t->push_back (*i);
}
}
return;
}
- if (actively_recording() && speed < 0.0) {
- /* no reverse during recording */
+ if (actively_recording() && speed != 1.0 && speed != 0.0) {
+ /* no varispeed during recording */
return;
}