Skip to content

Conversation

@flamesky0
Copy link

@flamesky0 flamesky0 commented Jan 28, 2026

There is a problem with limited buffer size for option --stdin 256 bytes. It can be eliminated by making use of getline() function. Furthermore, it's possible to refactor exec_stdin() function to support reading from any file and support --file option. Would be very convenient for any devices with complex audio architecture to speedup boot-up initialization.

Mikhail Ivashinenko added 2 commits January 29, 2026 01:08
Signed-off-by: Mikhail Ivashinenko <miuivashinenko@salutedevices.com>
Allows to read commands directly from file.
Refactor exec_stdin() to exec_file() function to support generic files.

Signed-off-by: Mikhail Ivashinenko <miuivashinenko@salutedevices.com>
@flamesky0 flamesky0 changed the title amixer: support infinite line lenght for --stdin option and add --file option amixer: support infinite line length for --stdin option and add --file option Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant