Visualization: Do not increment latency on write
The latency should not be incremented when writing sample data to the buffer, but rather be posted by the output. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
3cc97b5574
commit
9701bd5421
1 changed files with 0 additions and 1 deletions
|
@ -73,7 +73,6 @@ class VisualizationController : NSObject {
|
|||
j += 1; if j >= k { j = 0 }
|
||||
}
|
||||
self.visAudioCursor = j
|
||||
self.latency += Double(amount) / self.sampleRate
|
||||
self.visSamplesPosted += UInt64(amount);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue