summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/meter.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-04-28 22:18:30 +0200
committerRobin Gareus <robin@gareus.org>2015-04-29 00:35:35 +0200
commitf410705c3a3fb53777aa83ee25c470bbee12f1d5 (patch)
tree8926e4ccb6e8a82604469aa5b8e0cdf9fec6cd11 /libs/ardour/ardour/meter.h
parent1df7b4ffb627c2b1ffb1eb32fecf5af0ad8ca2ad (diff)
delegate signal emission to dedicated thread.
This works around abysmal performance (~.15ms) of boost::function and boost::bind (in PBD::Signal). The overall load is probably higher but the realtime thread remains unaffected.
Diffstat (limited to 'libs/ardour/ardour/meter.h')
-rw-r--r--libs/ardour/ardour/meter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/meter.h b/libs/ardour/ardour/meter.h
index 8ed1ade50d..d34d5b3710 100644
--- a/libs/ardour/ardour/meter.h
+++ b/libs/ardour/ardour/meter.h
@@ -72,6 +72,7 @@ public:
*/
void reflect_inputs (const ChanCount& in);
+ void emit_configuration_changed ();
/** Compute peaks */
void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool);