Fix assertion failure in AudioBuffers::copy_from() (#1909) win-splash
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:01:49 +0000 (20:01 +0100)
commit4d8c69b356f770144c59982c4196846d6f1dc0b0
treed2d1601e1ff8ffc420bbb238874620ac448811a5
parent216ab537915307f5033e8b1fce13bc2517bc4bb9
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