From cdc401783bbc46f9786764128652d932b806d3ce Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 7 Jan 2026 11:57:05 +0100 Subject: [PATCH] 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 Signed-off-by: Jaroslav Kysela --- alsaloop/alsaloop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c index 9e45721..9178011 100644 --- a/alsaloop/alsaloop.c +++ b/alsaloop/alsaloop.c @@ -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}, }; -- 2.52.0