- TempoMap& tempo_map () const { return *_tempo_map; }
- nframes_t frame_rate () const { return FRAME_RATE; }
- framepos_t audible_frame () const { return _transport_frame; }
- framepos_t transport_frame () const { return _transport_frame; }
- nframes_t frames_since_cycle_start () const { return 0; }
- framecnt_t frame_time () const { return _frame_time; }
-
- void request_locate (framepos_t frame, bool with_roll = false) {
- _transport_frame = frame;
+ TempoMap& tempo_map () const { return *_tempo_map; }
+ samplecnt_t sample_rate () const { return FRAME_RATE; }
+ samplepos_t audible_sample () const { return _transport_sample; }
+ samplepos_t transport_sample () const { return _transport_sample; }
+ pframes_t samples_since_cycle_start () const { return 0; }
+ samplepos_t sample_time () const { return _sample_time; }
+
+ void request_locate (samplepos_t sample, bool with_roll = false) {
+ _transport_sample = sample;