class LIBARDOUR_API TimecodeSlave : public Slave {
public:
- TimecodeSlave () {}
+ TimecodeSlave () {}
- virtual Timecode::TimecodeFormat apparent_timecode_format() const = 0;
+ virtual Timecode::TimecodeFormat apparent_timecode_format() const = 0;
- /* this is intended to be used by a UI and polled from a timeout. it should
- return a string describing the current position of the TC source. it
- should NOT do any computation, but should use a cached value
- of the TC source position.
- */
- virtual std::string approximate_current_position() const = 0;
+ /* this is intended to be used by a UI and polled from a timeout. it should
+ return a string describing the current position of the TC source. it
+ should NOT do any computation, but should use a cached value
+ of the TC source position.
+ */
+ virtual std::string approximate_current_position() const = 0;
- framepos_t timecode_offset;
- bool timecode_negative_offset;
+ framepos_t timecode_offset;
+ bool timecode_negative_offset;
+
+ PBD::Signal1<void, bool> ActiveChanged;
};
class LIBARDOUR_API MTC_Slave : public TimecodeSlave {