diff options
author | Robin Gareus <robin@gareus.org> | 2012-11-05 11:26:27 +0000 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2012-11-05 11:26:27 +0000 |
commit | a3a398242bbb1149611ba03a8ee717e9af07de75 (patch) | |
tree | 2d04b1be80cd56d78fbb173dffbab132d224c67a /libs/ardour/ltc_slave.cc | |
parent | 778835bfbc07c694beeee8796c5f8e016041c5ac (diff) |
tigten LTC Slave resolution.
The reason for this is that the LTC generator uses the slave's
resolution as watermark for max-drift, resync. A possible drawback:
session-process will force silent rolls if the delta is larger
than the resolution. LTC has a carrier freq of ~2kHz, choosing
half of that seems a good compromise.
git-svn-id: svn://localhost/ardour2/branches/3.0@13380 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ltc_slave.cc')
-rw-r--r-- | libs/ardour/ltc_slave.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc index 5afb1dfb6d..ea40fea654 100644 --- a/libs/ardour/ltc_slave.cc +++ b/libs/ardour/ltc_slave.cc @@ -80,7 +80,7 @@ LTC_Slave::~LTC_Slave() ARDOUR::framecnt_t LTC_Slave::resolution () const { - return (framecnt_t) (frames_per_ltc_frame); + return (framecnt_t) (session.frame_rate() / 1000); } bool |