src/audio/playback/alsa.c: todo for get_sched_latency_ns

returns now always -1, suggesting removal
This commit is contained in:
Martin Pulec
2024-07-03 15:54:35 +02:00
parent 855c0e850f
commit e52dffac5e

View File

@@ -139,6 +139,11 @@ struct state_alsa_playback {
static void audio_play_alsa_write_frame(void *state, const struct audio_frame *frame);
/**
* @todo
* the file /proc/sys/kernel/sched_latency_ns is no longer present
* in current Linuxes - remove the function?
*/
static long get_sched_latency_ns(void)
{
const char *proc_file = "/proc/sys/kernel/sched_latency_ns";