Segment: Rework append_samples() so it can handle large input
authorSoeren Apel <soeren@apelpie.net>
Mon, 1 May 2017 13:04:10 +0000 (15:04 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 5 May 2017 21:41:17 +0000 (23:41 +0200)
Before, adding large blocks of samples didn't work if they
would fill the current chunk, fill a new one and still have
data left to add. Using an iterative approach fixes this and
also makes the function more elegant.


No differences found