projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
finished merge of cairocanvas with windows and windows+cc branches
[ardour.git]
/
libs
/
ardour
/
audio_buffer.cc
diff --git
a/libs/ardour/audio_buffer.cc
b/libs/ardour/audio_buffer.cc
index b4e2a55ac2e7d38452e4dda3a7517dbaf03880fa..aa4f64755aeb9399d31e402b8703eae2dd1a4d1d 100644
(file)
--- 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);