Audio output latency optimization