mirror of https://github.com/jetkvm/kvm.git
Cleanup, Optimizations: Small aaudio optimizations
This commit is contained in:
parent
8a3f1b6c32
commit
2f7bf55f22
|
@ -762,7 +762,7 @@ retry_write:
|
|||
if (trace_logging_enabled) {
|
||||
printf("[AUDIO_INPUT] jetkvm_audio_decode_write: Device not ready (EAGAIN), waiting and retrying\n");
|
||||
}
|
||||
usleep(sleep_microseconds / 4);
|
||||
snd_pcm_wait(pcm_playback_handle, sleep_microseconds / 4000); // Convert to milliseconds
|
||||
goto retry_write;
|
||||
}
|
||||
if (trace_logging_enabled) {
|
||||
|
|
Loading…
Reference in New Issue