1
0
Fork 0

alsaloop: parse_config(): handle long form --wake option

The usage info documents a long form --wake option:

"-W,--wake      process wake timeout in ms\n"

But it wasn't handled:

alsaloop --wake 42
alsaloop: unrecognized option '--wake'

Fix that.

Closes: https://github.com/alsa-project/alsa-utils/pull/317
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Peter Korsgaard 2026-01-07 11:57:05 +01:00 committed by Jaroslav Kysela
parent 5a8e040840
commit cdc401783b

View file

@ -386,6 +386,7 @@ static int parse_config(int argc, char *argv[], snd_output_t *output,
{"ossmixer", 1, NULL, 'O'},
{"workaround", 1, NULL, 'w'},
{"xrun", 0, NULL, 'U'},
{"wake", 1, NULL, 'W'},
{"syslog", 0, NULL, 'z'},
{NULL, 0, NULL, 0},
};