summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/port_manager.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-25 19:20:09 +0200
committerRobin Gareus <robin@gareus.org>2016-05-25 19:20:09 +0200
commit1d48648a734423d2a1b1689efaa32e7f6452c5ea (patch)
tree4e2c6259391904cc2772fe5aa66f8aa57d589925 /libs/ardour/ardour/port_manager.h
parentad7295f5e19017bfffbab4f83312adc9d08c365d (diff)
fix timecode update after locate.
Various session rt-events set "_send_timecode_update" to true, but at the same time queue post-transport-work. The timecode-update is generated, but due to pending transport work session->silent() is true and the timecode was never sent.
Diffstat (limited to 'libs/ardour/ardour/port_manager.h')
-rw-r--r--libs/ardour/ardour/port_manager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/port_manager.h b/libs/ardour/ardour/port_manager.h
index 21ba2213e6..ba1a8c3464 100644
--- a/libs/ardour/ardour/port_manager.h
+++ b/libs/ardour/ardour/port_manager.h
@@ -39,6 +39,7 @@ namespace ARDOUR {
class PortEngine;
class AudioBackend;
+class Session;
class LIBARDOUR_API PortManager
{
@@ -147,7 +148,7 @@ class LIBARDOUR_API PortManager
boost::shared_ptr<Ports> _cycle_ports;
void fade_out (gain_t, gain_t, pframes_t);
- void silence (pframes_t nframes);
+ void silence (pframes_t nframes, Session *s = 0);
void silence_outputs (pframes_t nframes);
void check_monitoring ();
/** Signal the start of an audio cycle.