mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 08:40:10 +00:00
src/audio/playback/alsa.c: todo for get_sched_latency_ns
returns now always -1, suggesting removal
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user