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:
parent
5a8e040840
commit
cdc401783b
1 changed files with 1 additions and 0 deletions
|
|
@ -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},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue