Cleanup, Optimizations: Small aaudio optimizations

This commit is contained in:
Alex P 2025-09-16 15:45:03 +03:00
parent 8a3f1b6c32
commit 2f7bf55f22
1 changed files with 1 additions and 1 deletions

View File

@ -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) {