diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-06 17:09:53 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-06 17:09:53 +0000 |
commit | 009c7a9e44d65184d6b6c613569decc9d93fb490 (patch) | |
tree | 48a6d2eb194c9b4871016042bd213a62d36fa1c9 /libs/ardour/ardour | |
parent | f4f2a9a111c32d4761308eb94a8c7cfa214b7116 (diff) |
attempt to stop sending MMC/MTC while exporting or freewheeling for any reason
git-svn-id: svn://localhost/ardour2/branches/3.0@11457 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/audioengine.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/session.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/audioengine.h b/libs/ardour/ardour/audioengine.h index 7b4ba2d15d..fdaf864a0d 100644 --- a/libs/ardour/ardour/audioengine.h +++ b/libs/ardour/ardour/audioengine.h @@ -280,6 +280,7 @@ private: /// the number of frames processed since start() was called framecnt_t _processed_frames; bool _freewheeling; + bool _pre_freewheel_mmc_enabled; int _usecs_per_cycle; bool port_remove_in_progress; @@ -314,6 +315,7 @@ private: int jack_sync_callback (jack_transport_state_t, jack_position_t*); int jack_bufsize_callback (pframes_t); int jack_sample_rate_callback (pframes_t); + void freewheel_callback (int); void set_jack_callbacks (); diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 973374ab32..a0e1b5a0fd 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -983,6 +983,7 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi int pre_export (); int stop_audio_export (); void finalize_audio_export (); + bool _pre_export_mmc_enabled; PBD::ScopedConnection export_freewheel_connection; |