Commit graph

15 commits

Author SHA1 Message Date
Maciej Strozek
d4cf5da490 control: ucm: add ioctl to retrieve full card components
The fixed-size components field in SNDRV_CTL_IOCTL_CARD_INFO can be too
small on systems with many audio devices. The kernel [1] will provide a
new ioctl to read the full string while truncating the original in
card_info if it grows too big. Make sure the code falls back to original
if the new ioctl is not supported.

[1]: https://lore.kernel.org/all/20260122111249.67319-1-mstrozek@opensource.cirrus.com/
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
2026-01-22 11:17:37 +00:00
Jaroslav Kysela
66a3d542ac huge correction of tabulators and whitespaces
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2025-11-07 18:09:26 +01:00
Jaroslav Kysela
ad3a8b8b31 reshuffle included files to include config.h as first
config.h may contain defines like _FILE_OFFSET_BITS which influence
the system wide include files (off_t types, open -> open64 function
usage etc.).

Related: https://github.com/alsa-project/alsa-lib/pull/333
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-08-30 18:25:37 +02:00
Jaroslav Kysela
6ad93ac892 added snd_user_file() function
alisp extensions
  - added nth, include, path commands
  - added auto-exec functionality
  - added helpers for C<->lisp interoperability
2003-09-03 19:25:08 +00:00
Jaroslav Kysela
3e6f423501 Updated to latest API 2001-09-07 09:24:30 +00:00
Abramo Bagnara
45c416ed82 Better names for control API 2001-02-07 15:13:15 +00:00
Abramo Bagnara
8f0cb26fdf Control API encapsulation. Better names for kernel API. Simpler PCM hw_params API. Added missing const. 2001-02-06 23:48:10 +00:00
Abramo Bagnara
b5576ef229 Completed conf. Better name for snd_card_get_index. Cleaned card access 2000-08-25 14:33:53 +00:00
Jaroslav Kysela
924d53cccc Added midi devices.. 2000-02-03 19:41:43 +00:00
Jaroslav Kysela
227fe9d226 Updates for the control interface... 1999-06-22 13:18:24 +00:00
Jaroslav Kysela
c6d9012d55 Fixes for new types... 1999-06-03 21:41:29 +00:00
Jaroslav Kysela
a5b307a711 Mixer v2.0 merged to the main CVS tree... 1999-05-02 16:21:30 +00:00
Jaroslav Kysela
fb1938d29f Coding style.. 1998-11-27 15:07:56 +00:00
Jaroslav Kysela
2ae16fb30d Big renaming - from sound to asound... 1998-08-30 21:08:44 +00:00
Jaroslav Kysela
5abac67626 Initial revision 1998-08-13 15:42:56 +00:00