if (_current_stripable) {
boost::shared_ptr<AutomationControl> gain = _current_stripable->gain_control ();
if (gain) {
- framepos_t now = session->engine().sample_time();
+ samplepos_t now = session->engine().sample_time();
gain->start_touch (now);
}
}
if (_current_stripable) {
boost::shared_ptr<AutomationControl> gain = _current_stripable->gain_control ();
if (gain) {
- framepos_t now = session->engine().sample_time();
+ samplepos_t now = session->engine().sample_time();
gain->stop_touch (now);
}
}
port->clear ();
DEBUG_TRACE (DEBUG::CC121, string_compose ("data available on %1\n", boost::shared_ptr<MIDI::Port>(port)->name()));
- framepos_t now = session->engine().sample_time();
+ samplepos_t now = session->engine().sample_time();
port->parse (now);
}