mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 06:35:46 +01:00
Fix some warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@12048 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9cc110f111
commit
9befa88deb
6 changed files with 15 additions and 8 deletions
|
|
@ -834,7 +834,11 @@ RubberBandStretcher::Impl::study(const float *const *input, size_t samples, bool
|
|||
// cd.accumulator is not otherwise used during studying,
|
||||
// so we can use it as a temporary buffer here
|
||||
|
||||
#ifdef NDEBUG
|
||||
inbuf.peek(cd.accumulator, m_windowSize);
|
||||
#else
|
||||
size_t got = inbuf.peek(cd.accumulator, m_windowSize);
|
||||
#endif
|
||||
assert(final || got == m_windowSize);
|
||||
|
||||
m_window->cut(cd.accumulator);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue