Don't count output buffering for queue hold

This would count the output duration for every file buffered, rather
than only once.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
CQTexperiment
Christopher Snowhill 2022-02-11 06:50:58 -08:00
parent d5aecaf6a2
commit 0b33fe6dea
1 changed files with 0 additions and 3 deletions

View File

@ -243,9 +243,6 @@
- (double)secondsBuffered {
double duration = 0.0;
OutputNode *outputNode = (OutputNode *)[controller output];
duration += [outputNode secondsBuffered];
Node *node = [self finalNode];
while(node) {
duration += [node secondsBuffered];