From: Soeren Apel Date: Mon, 1 May 2017 13:04:10 +0000 (+0200) Subject: Segment: Rework append_samples() so it can handle large input X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=257211b829052bb5d5fade89f518df47d96923b5;hp=257211b829052bb5d5fade89f518df47d96923b5;p=pulseview.git Segment: Rework append_samples() so it can handle large input 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. ---