Adjust the buffering so if latency is too low, we fill the rest of the output with silence instead of peeking at the oldest part of the buffer. Also increase latency by half a buffer size so that the requested sample is in the center of the buffer, which improves the 4096 sample situation with the current low latency output. Signed-off-by: Christopher Snowhill <kode54@gmail.com> |
||
---|---|---|
.. | ||
VisualizationController.h | ||
VisualizationController.m | ||
VisualizationController.swift |