- /* setup the terrible silence so that we can mix into the outbuffers (slightly suboptimal -
- better to copy the first set of data then mix after that, but hey, its 2011)
- */
- for (BufferSet::audio_iterator i = outbufs.audio_begin(); i != outbufs.audio_end(); ++i) {
- i->silence(nframes);
- }
-
- _panner->distribute_automated (inbufs, outbufs, start_frame, end_frame, nframes, _session.pan_automation_buffer());
- }
+ /* setup the terrible silence so that we can mix into the outbuffers (slightly suboptimal -
+ better to copy the first set of data then mix after that, but hey, its 2011)
+ */
+ for (BufferSet::audio_iterator i = outbufs.audio_begin(); i != outbufs.audio_end(); ++i) {
+ i->silence(nframes);
+ }
+
+ _panner->distribute_automated (inbufs, outbufs, start_frame, end_frame, nframes, _session.pan_automation_buffer());
+ }
+}
+
+void
+PannerShell::set_bypassed (bool yn)
+{
+ if (yn == _bypassed) {
+ return;
+ }
+
+ _bypassed = yn;
+ Changed (); /* EMIT SIGNAL */