*/
-#include "midi++/jack.h"
-#include "pbd/scoped_connections.h"
+#include "pbd/signals.h"
#include "ardour/types.h"
#include "ardour/session_handle.h"
#ifndef TICKER_H_
#define TICKER_H_
+namespace MIDI {
+ class Port;
+}
+
namespace ARDOUR
{
Ticker() {};
virtual ~Ticker() {}
- virtual void tick(
- const nframes_t& transport_frames,
+ virtual void tick (
+ const framepos_t& transport_frames,
const BBT_Time& transport_bbt,
const Timecode::Time& transport_timecode) = 0;
}
void tick(
- const nframes_t& transport_frames,
+ const framepos_t& transport_frames,
const BBT_Time& transport_bbt,
const Timecode::Time& transport_timecode);
void transport_state_changed();
/// slot for the signal session::PositionChanged
- void position_changed(nframes_t position);
+ void position_changed (framepos_t position);
/// slot for the signal session::TransportLooped
void transport_looped();
int _ppqn;
double _last_tick;
- double one_ppqn_in_frames(nframes_t transport_position);
+ double one_ppqn_in_frames (framepos_t transport_position);
- void send_midi_clock_event(nframes_t offset);
- void send_start_event(nframes_t offset);
- void send_continue_event(nframes_t offset);
- void send_stop_event(nframes_t offset);
+ void send_midi_clock_event (pframes_t offset);
+ void send_start_event (pframes_t offset);
+ void send_continue_event (pframes_t offset);
+ void send_stop_event (pframes_t offset);
};
}