latency.c randomly gives persistent scratchy audio