Fix assertion failure in AudioBuffers::copy_from() (#1909)
authorCarl Hetherington <cth@carlh.net>
Tue, 23 Feb 2021 19:01:49 +0000 (20:01 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 23 Feb 2021 19:11:23 +0000 (20:11 +0100)
commit786d0317a86f81d391efd4fab1bb331b4959f666
tree240cfd9dfa42927f31f86ea16b9d49baaba0f07b
parent998ebab3fafd238a49d4ececeecb4bbf9f17b699
Fix assertion failure in AudioBuffers::copy_from() (#1909)

A number of frames N was being split up into two parts which together
were bigger than N, meaning a copy of one of the parts failed.
src/lib/writer.cc
test/writer_test.cc [new file with mode: 0644]
test/wscript