diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-16 17:22:19 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-16 17:22:19 -0500 |
commit | 10933e200369ecceb2c8b3a52be41b930955d269 (patch) | |
tree | 6e994c9462e2d96334d208c01661feb13b392fa0 /libs/ardour/audio_buffer.cc | |
parent | 8df4f674602a183b55e1d746f033a7aa95cfb330 (diff) |
allow auditioning via the monitor section to work.
Ideally, we would feed the monitor section via an internal (aux) send/return, but this is an improvement over what we had before
Diffstat (limited to 'libs/ardour/audio_buffer.cc')
-rw-r--r-- | libs/ardour/audio_buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/audio_buffer.cc b/libs/ardour/audio_buffer.cc index b4e2a55ac2..aa4f64755a 100644 --- a/libs/ardour/audio_buffer.cc +++ b/libs/ardour/audio_buffer.cc @@ -88,7 +88,7 @@ AudioBuffer::check_silence (pframes_t nframes, bool wholebuffer, pframes_t& n) c void AudioBuffer::silence (framecnt_t len, framecnt_t offset) { - pframes_t n = 0; + if (!_silent) { assert(_capacity > 0); assert(offset + len <= _capacity); |