- virtual nframes64_t unit_to_frame (double unit) const = 0;
- // XXX remove me when libardour goes nframes64_t
- double frame_to_unit (nframes_t frame) const {
- return frame_to_unit ((nframes64_t) frame);
- }
- virtual double frame_to_unit (nframes64_t frame) const = 0;
+ virtual framepos_t unit_to_frame (double unit) const = 0;
+ virtual double frame_to_unit (framepos_t frame) const = 0;