#include "pbd/signals.h"
+#include "ardour/types.h"
+
#include <jack/types.h>
-#include "control_protocol/timecode.h"
+#include "timecode/time.h"
namespace ARDOUR {
class Session;
void set_transport_speed (double speed);
double get_transport_speed ();
- jack_nframes_t transport_frame ();
- void locate (jack_nframes_t frame, bool play = false);
+ ARDOUR::framepos_t transport_frame ();
+ void locate (ARDOUR::framepos_t frame, bool play = false);
bool locating ();
bool locked ();
void rec_enable_toggle ();
void toggle_all_rec_enables ();
- jack_nframes_t timecode_frames_per_hour ();
+ ARDOUR::framecnt_t timecode_frames_per_hour ();
- void timecode_time (jack_nframes_t where, Timecode::Time&);
- void timecode_to_sample (Timecode::Time& timecode, int64_t& sample, bool use_subframes) const;
- void sample_to_timecode (int64_t sample, Timecode::Time& timecode, bool use_subframes) const;
+ void timecode_time (framepos_t where, Timecode::Time&);
+ void timecode_to_sample (Timecode::Time& timecode, framepos_t & sample, bool use_offset, bool use_subframes) const;
+ void sample_to_timecode (framepos_t sample, Timecode::Time& timecode, bool use_offset, bool use_subframes) const;
protected:
BasicUI ();