diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-09-26 18:39:46 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-09-26 18:39:56 -0600 |
commit | 903c3ec5a0491b3e504a81bddeb7fe7c429e2a7e (patch) | |
tree | f91f07edb33d89cfd195ec691969e21c1e49d429 /libs/ardour/process_thread.cc | |
parent | f5f452bf9c9637063a819a69980456767ea5da59 (diff) |
rename BufferSet::get* to BufferSet::get_available*
This tries to make it clear what the BufferSet limit semantics really are
Diffstat (limited to 'libs/ardour/process_thread.cc')
-rw-r--r-- | libs/ardour/process_thread.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/process_thread.cc b/libs/ardour/process_thread.cc index 196b884100..7f31013687 100644 --- a/libs/ardour/process_thread.cc +++ b/libs/ardour/process_thread.cc @@ -87,7 +87,7 @@ ProcessThread::get_silent_buffers (ChanCount count) for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) { for (size_t i= 0; i < count.get(*t); ++i) { - sb->get(*t, i).clear(); + sb->get_available(*t, i).clear(); } } @@ -113,7 +113,7 @@ ProcessThread::get_scratch_buffers (ChanCount count, bool silence) if (silence) { for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) { for (uint32_t i = 0; i < sb->count().get(*t); ++i) { - sb->get(*t, i).clear(); + sb->get_available (*t, i).clear(); } } } @@ -159,7 +159,7 @@ ProcessThread::get_route_buffers (ChanCount count, bool silence) if (silence) { for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) { for (uint32_t i = 0; i < sb->count().get(*t); ++i) { - sb->get(*t, i).clear(); + sb->get_available (*t, i).clear(); } } } |