{
public:
- OSCGlobalObserver (ARDOUR::Session& s, ArdourSurface::OSC::OSCSurface* su);
+ OSCGlobalObserver (ArdourSurface::OSC& o, ARDOUR::Session& s, ArdourSurface::OSC::OSCSurface* su);
~OSCGlobalObserver ();
lo_address address() const { return addr; };
void tick (void);
+ void clear_observer (void);
private:
+ ArdourSurface::OSC& _osc;
PBD::ScopedConnectionList strip_connections;
PBD::ScopedConnectionList session_connections;
float _last_meter;
uint32_t master_timeout;
uint32_t monitor_timeout;
+ uint32_t last_punchin;
+ uint32_t last_punchout;
+ uint32_t last_click;
void send_change_message (std::string path, boost::shared_ptr<PBD::Controllable> controllable);
void send_gain_message (std::string path, boost::shared_ptr<PBD::Controllable> controllable);
void send_transport_state_changed (void);
void send_record_state_changed (void);
void solo_active (bool active);
- void text_message (std::string path, std::string text);
- void float_message (std::string path, float value);
- void int_message (std::string path, uint32_t value);
+ void session_name (std::string path, std::string name);
+ void extra_check (void);
};
#endif /* __osc_oscglobalobserver_h__ */