Skip to content

Commit

Permalink
src/audio/playback/alsa.c: todo for get_sched_latency_ns
Browse files Browse the repository at this point in the history
returns now always -1, suggesting removal
  • Loading branch information
MartinPulec committed Jul 8, 2024
1 parent b753f71 commit 093ef20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/audio/playback/alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 093ef20

Please sign in to comment.