* the current position and we're not rolling.
*/
- framepos_t where = session->audible_frame();
+ samplepos_t where = session->audible_sample();
- if (session->transport_stopped() && session->locations()->mark_at (where, session->frame_rate() / 100.0)) {
+ if (session->transport_stopped() && session->locations()->mark_at (where, session->sample_rate() / 100.0)) {
return off;
}
boost::shared_ptr<AutomationControl> ac = master_fader->control ();
master_fader->set_in_use (true);
- master_fader->start_touch (transport_frame());
+ master_fader->start_touch (transport_sample());
return none;
}
Fader* master_fader = _master_surface->master_fader();
master_fader->set_in_use (false);
- master_fader->stop_touch (transport_frame());
+ master_fader->stop_touch (transport_sample());
return none;
}