]> git.alsa-project.org Git - alsa-utils.git/commit
alsaloop: parse_config(): handle short form -B / -E options
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 7 Jan 2026 10:51:18 +0000 (11:51 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 25 May 2026 09:54:34 +0000 (11:54 +0200)
commitd4a4054bc774dcaf2337a8cbe8bc4e7a279d5a97
tree58f56bf650c5535a8fa42460a7eaab46450ed548
parentd875e571d152c999fa7291680e8fb4c0c4120d07
alsaloop: parse_config(): handle short form -B / -E options

The usage info documents both short and long form arguments for these:

"-B,--buffer    buffer size in frames\n"
"-E,--period    period size in frames\n"

But the short form was missing from the optstring so it wasn't accepted:

alsaloop -B 123 -E 42
alsaloop: invalid option -- 'B'
alsaloop: invalid option -- 'E'

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>
alsaloop/alsaloop.c