]> git.alsa-project.org Git - alsa-lib.git/log
alsa-lib.git
12 months agosrc/Versions.in: Add the new snd_pcm_hw_params_get_sync for 1.2.13
Takashi Iwai [Tue, 20 Aug 2024 14:20:15 +0000 (16:20 +0200)]
src/Versions.in: Add the new snd_pcm_hw_params_get_sync for 1.2.13

Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 months agoSync UAPI asound.h and asequencer.h with 6.12 kernel
Takashi Iwai [Tue, 20 Aug 2024 12:27:13 +0000 (14:27 +0200)]
Sync UAPI asound.h and asequencer.h with 6.12 kernel

The recent upstream kernel received a few features and extended /
cleaned up the asound.h and asequencer.h uapi files:
- ALSA: pcm: Introduce MSBITS subformat interface
- ALSA: pcm: clarify and fix default msbits value for all formats
- ALSA: pcm: reinvent the stream synchronization ID API
- ALSA: timer: Introduce virtual userspace-driven timers

Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 months agopcm: implement snd_pcm_hw_params_get_sync() and obsolete snd_pcm_info_get_sync()
Jaroslav Kysela [Tue, 20 Aug 2024 13:33:45 +0000 (15:33 +0200)]
pcm: implement snd_pcm_hw_params_get_sync() and obsolete snd_pcm_info_get_sync()

Use the new clock source mechanism to get information about
similar PCM clock sources for PCM streams.

Link: https://lore.kernel.org/linux-sound/20240625172836.589380-1-perex@perex.cz/
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
12 months agoump_msg: Add missing definition for Set Key Signature Message
Takashi Iwai [Tue, 20 Aug 2024 07:36:27 +0000 (09:36 +0200)]
ump_msg: Add missing definition for Set Key Signature Message

The Set Key Signature message was missing at the time we defined
for Flex Data types.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 months ago.gitignore: Add test/umpinfo
Takashi Iwai [Thu, 15 Aug 2024 14:43:10 +0000 (16:43 +0200)]
.gitignore: Add test/umpinfo

Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 months agotest: Add an example program to inquire UMP Endpoint and Block info
Takashi Iwai [Thu, 15 Aug 2024 14:36:18 +0000 (16:36 +0200)]
test: Add an example program to inquire UMP Endpoint and Block info

Provide an example program to inquire UMP Endpoint and Block info in
various APIs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 months agocontrol: Make ump_{endpoint|block}_info calls optional
Takashi Iwai [Thu, 15 Aug 2024 14:25:11 +0000 (16:25 +0200)]
control: Make ump_{endpoint|block}_info calls optional

Add the NULL check for ump_endpoint_info and ump_block_info calls.
Those can be NULl depending on the target.

Fixes: 81b0cf46d16a ("control: Add UMP Endpoint and Block info query support")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 months agoseq: Correct a typo in documentation
Takashi Iwai [Wed, 7 Aug 2024 13:50:21 +0000 (15:50 +0200)]
seq: Correct a typo in documentation

The right function name is snd_seq_has_queue_tempo_base().

Fixes: 24c7f4273394 ("seq: Add API functions to set different tempo base values")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 months agoseq: Add snd_seq_{get|set}_ump_is_midi1() API functions
Takashi Iwai [Wed, 7 Aug 2024 13:46:31 +0000 (15:46 +0200)]
seq: Add snd_seq_{get|set}_ump_is_midi1() API functions

Implement the API function calls corresponding to the new sequencer
port flag bit that has been added recently to the kernel.
A UMP MIDI 2.0 device allow to have an optional MIDI 1.0 port while
speaking in MIDI 2.0 protocol for other UMP Groups.  The new seq port
flag indicates that.

This is rather a minor difference, and since ALSA sequencer core
covers the all conversions, usually you don't have to worry about it
at all.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 months agoseq: Avoid strlcat()
Takashi Iwai [Wed, 31 Jul 2024 09:14:08 +0000 (11:14 +0200)]
seq: Avoid strlcat()

strlcat() isn't available in every system, so better to avoid it.
Rewrite the code without strlcat().

Fixes: 6167b8ce3e80 ("seq: Add API helper functions for creating UMP Endpoint and Blocks")
Link: https://lore.kernel.org/0796c157-1ac3-47a3-9d54-ba86f59d64d5@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 months agoump_msg: Define types for UMP Mixed Data Set messages
Takashi Iwai [Sun, 28 Jul 2024 08:24:18 +0000 (10:24 +0200)]
ump_msg: Define types for UMP Mixed Data Set messages

Mixed Data Set messages is another messages of the type 5
(SND_UMP_MSG_TYPE_EXTENDED_DATA) with the status 8 and 9.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 months agoump_msg: Add a new helper snd_ump_get_byte()
Takashi Iwai [Sun, 28 Jul 2024 08:46:11 +0000 (10:46 +0200)]
ump_msg: Add a new helper snd_ump_get_byte()

For making it easier to extract a byte from the UMP packet no matter
which endian is used, introduce a new helper function
snd_ump_get_byte().  It'll be useful for retrieving SysEx byte or a
name string.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 months agoump_msg: Correct a typo in snd_ump_msg_flex_data_t definition.
Takashi Iwai [Fri, 19 Jul 2024 12:30:12 +0000 (14:30 +0200)]
ump_msg: Correct a typo in snd_ump_msg_flex_data_t definition.

There was a typo in snd_ump_msg_flex_data_t definition; it should be
"set_metronome".

Fixes: 30f8ba74c5a2 ("ump_msg: Add definitions for Utility, Stream and Flex Data messages")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 months agoseq: Fix wrong FB direction at snd_seq_create_ump_block()
Takashi Iwai [Tue, 9 Jul 2024 05:23:23 +0000 (07:23 +0200)]
seq: Fix wrong FB direction at snd_seq_create_ump_block()

snd_seq_create_ump_block() receives a snd_ump_block_info_t data at the
creation of a FB and updates its associated sequencer port, but it
handled the port direction incorrectly.  The UMP / port direction
means the connectivity, but the current code translated other way
round.  The correct translation should be that input = receiver, i.e.
a writable port for applications, and output = source, a readable port
for applications.

This patch corrects the translation, and add more comments to the
direction definition.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoseq: Add API functions to set different tempo base values
Takashi Iwai [Wed, 3 Jul 2024 13:00:20 +0000 (15:00 +0200)]
seq: Add API functions to set different tempo base values

MIDI2 Set Tempo message uses 10ns-based values, and we need to update
the API to change the base time unit.

This patch adds a few new API functions:
- snd_seq_has_queue_tempo_base() returns 1 if the client supports a
  new tempo-base value; if 0, it's an old system and application has
  to use the tempo in the fixed 1us unit
- the tempo base can be changed with
  snd_seq_queue_tempo_set_tempo_base(), provided in nsec unit;
  the value has to be either 10 or 1000 (or 0 as default, equivalent
  with 1000)

The protocol version is checked and fallback to the fixed 1us base for
the old clients.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoump: Add a function to provide the packet word length of a UMP type
Takashi Iwai [Thu, 4 Jul 2024 07:53:20 +0000 (09:53 +0200)]
ump: Add a function to provide the packet word length of a UMP type

Add a helper function to return the number of words of a given UMP
packet type.  Used for parsing MIDI Clip File stream, for example.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoump_msg: Drop unsuitable comments
Takashi Iwai [Thu, 4 Jul 2024 07:47:09 +0000 (09:47 +0200)]
ump_msg: Drop unsuitable comments

There were some leftover comments from the old code that don't fit any
longer.  Drop them.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoump_msg: Add definitions for Utility, Stream and Flex Data messages
Takashi Iwai [Thu, 4 Jul 2024 07:44:53 +0000 (09:44 +0200)]
ump_msg: Add definitions for Utility, Stream and Flex Data messages

This patch provides more struct / union definitions for UMP Utility,
Stream and Flex Data messages, provided in the new UMP v1.1
specification.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoump_msg: Fix the wrong snd_ump_msg_system_t argument in little-endian
Takashi Iwai [Wed, 26 Jun 2024 14:53:17 +0000 (16:53 +0200)]
ump_msg: Fix the wrong snd_ump_msg_system_t argument in little-endian

For the little-endian format, the parameters are stored incorrectly
in snd_ump_msg_system_t type.  Swap the both parameter positions to
correct to the right positions.

Fixes: 040356ecf06b ("ump: Add helpers to parse / set UMP packet data")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agosrc/Versions.in: Add guards for sequencer and rawmidi syms
Takashi Iwai [Wed, 26 Jun 2024 09:46:35 +0000 (11:46 +0200)]
src/Versions.in: Add guards for sequencer and rawmidi syms

Similarly like PCM and others, add the ifdef guards for new symbols
for sequencer and rawmidi interfaces.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agosrc/Versions.in: Add new seq / rawmidi functions for UMP
Takashi Iwai [Wed, 26 Jun 2024 09:39:06 +0000 (11:39 +0200)]
src/Versions.in: Add new seq / rawmidi functions for UMP

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoump: Add descriptions for UMP RawMidi interface
Takashi Iwai [Wed, 26 Jun 2024 09:23:34 +0000 (11:23 +0200)]
ump: Add descriptions for UMP RawMidi interface

Also update doxygen config accordingly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoump_msg.h: Fix doxygen comments
Takashi Iwai [Wed, 26 Jun 2024 09:22:06 +0000 (11:22 +0200)]
ump_msg.h: Fix doxygen comments

Correct the lack of markers and missing comments for some unions.

Fixes: 040356ecf06b ("ump: Add helpers to parse / set UMP packet data")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoseq: Correct section descriptions for UMP
Takashi Iwai [Wed, 26 Jun 2024 09:20:18 +0000 (11:20 +0200)]
seq: Correct section descriptions for UMP

The usage of \section and \subsection were wrong in the previous
commit, where the tags were missing.

Fixes: 3390f31664d4 ("seq: Add description about MIDI 2.0 and UMP handling")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoseq: Add description about MIDI 2.0 and UMP handling
Takashi Iwai [Tue, 25 Jun 2024 08:46:01 +0000 (10:46 +0200)]
seq: Add description about MIDI 2.0 and UMP handling

Add more description of the new ALSA sequencer features for MIDI 2.0
and UMP handling.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoump: Fix doxygen error for snd_ump_endpoint_info_set_protocol()
Takashi Iwai [Tue, 25 Jun 2024 08:44:41 +0000 (10:44 +0200)]
ump: Fix doxygen error for snd_ump_endpoint_info_set_protocol()

Fix a typo that caused a doxygen error.

Fixes: 6767f623ca05 ("ump: Add missing *_set variants for snd_ump_endpoint_info and snd_ump_block_info")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoconf: fix snd_config_substitute (for src->parent)
Jaroslav Kysela [Fri, 21 Jun 2024 14:30:06 +0000 (16:30 +0200)]
conf: fix snd_config_substitute (for src->parent)

If source configuration node has a parent set, it must be always
detached to avoid memory corruptions.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 months agoAdd test/seq-ump-example to .gitignore
Takashi Iwai [Wed, 19 Jun 2024 15:25:23 +0000 (17:25 +0200)]
Add test/seq-ump-example to .gitignore

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agotest: Add an example program to create a virtual UMP Endpoint
Takashi Iwai [Wed, 19 Jun 2024 15:22:15 +0000 (17:22 +0200)]
test: Add an example program to create a virtual UMP Endpoint

Provide an example program to demonstrate how to create a UMP Endpoint
and Blocks, i.e. a virtual UMP device.

It's a simple filtering application that just haves the incoming note
on/off velocity and sends out to the output.  The UMP Endpoint and
Block attributes can be adjusted via command-line options.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoseq: Add API helper functions for creating UMP Endpoint and Blocks
Takashi Iwai [Wed, 19 Jun 2024 12:35:36 +0000 (14:35 +0200)]
seq: Add API helper functions for creating UMP Endpoint and Blocks

For making it easer for applications to create a virtual UMP Endpoint
and UMP blocks, add two API helper functions.

snd_seq_create_ump_endpoint() creates (unsurprisingly) a UMP Endpoint,
based on the given snd_ump_endpoint_info_t information.  The number of
(max) UMP groups belonging to this Endpoint has to be specified.
This function sets up the Endpoint info on the sequencer client, and
creates a MIDI 2.0 UMP port as well as UMP Group ports automatically.
The name of the sequencer client is updated from the Endpoint name,
too.

After creating a UMP Endpoint, create each UMP Block via
snd_seq_create_ump_block() function with a snd_ump_block_info_t info.
The associated groups for each block have to be specified there.
The port names and capability bits are updated accordingly after
setting each block information.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoump: Add missing *_set variants for snd_ump_endpoint_info and snd_ump_block_info
Takashi Iwai [Tue, 18 Jun 2024 13:16:23 +0000 (15:16 +0200)]
ump: Add missing *_set variants for snd_ump_endpoint_info and snd_ump_block_info

The API functions to fill the data on snd_ump_endpoint_info and
snd_ump_block_info were missing.  Let's add them.

They can be used to construct a virtual UMP endpoint and block.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 months agoRelease v1.2.12 v1.2.12
Jaroslav Kysela [Mon, 10 Jun 2024 09:18:34 +0000 (11:18 +0200)]
Release v1.2.12

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 months agouse-case.h: add DisplayPort to HDMI device description
Jaroslav Kysela [Mon, 10 Jun 2024 07:06:33 +0000 (09:06 +0200)]
use-case.h: add DisplayPort to HDMI device description

Link: https://github.com/alsa-project/alsa-ucm-conf/pull/423
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoasync: snd_async_del_handler - move clear signal using sigaction as last
Jaroslav Kysela [Tue, 4 Jun 2024 09:17:57 +0000 (11:17 +0200)]
async: snd_async_del_handler - move clear signal using sigaction as last

Improve the shutdown order for the asynchronous users. There may be
unhandled signals, because the signal is reset before signal deactivation
using fnctl (O_ASYNC).

Closes: https://github.com/alsa-project/alsa-lib/issues/394
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoucm: doc - add Variant and Macro to the evaluation order
Jaroslav Kysela [Tue, 14 May 2024 13:28:41 +0000 (15:28 +0200)]
ucm: doc - add Variant and Macro to the evaluation order

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm: define and describe Syntax 7
Jaroslav Kysela [Wed, 24 Apr 2024 13:33:40 +0000 (15:33 +0200)]
ucm: define and describe Syntax 7

- for new macro argument substitution
- for new Path condition fields substitutions

Link: https://github.com/alsa-project/alsa-ucm-conf/pull/411
Link: https://github.com/alsa-project/alsa-lib/issues/395
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm: raise error when macro argument is already defined (used)
Jaroslav Kysela [Wed, 24 Apr 2024 13:15:48 +0000 (15:15 +0200)]
ucm: raise error when macro argument is already defined (used)

Link: https://github.com/alsa-project/alsa-ucm-conf/pull/411
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm: do argument value substitution for Macros
Jaroslav Kysela [Wed, 24 Apr 2024 13:08:48 +0000 (15:08 +0200)]
ucm: do argument value substitution for Macros

Link: https://github.com/alsa-project/alsa-ucm-conf/pull/411
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm: fix Path condition - substitute Path
Jaroslav Kysela [Wed, 24 Apr 2024 12:47:27 +0000 (14:47 +0200)]
ucm: fix Path condition - substitute Path

Use the appropriate variable for access/eaccess call.

Fixes: https://github.com/alsa-project/alsa-lib/issues/395
Fixes: ef6463a2 ("ucm: fix Path condition - substitute Path and Mode fields")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm: fix Path condition - substitute Path and Mode fields
Jaroslav Kysela [Wed, 24 Apr 2024 11:01:04 +0000 (13:01 +0200)]
ucm: fix Path condition - substitute Path and Mode fields

The Path and Mode fields should be also substituted for
the runtime evaluation. See Fixes.

Fixes: https://github.com/alsa-project/alsa-lib/issues/395
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoconf: aliases: hdmi: Include unconditionally the
Peter Ujfalusi [Tue, 23 Apr 2024 07:09:46 +0000 (10:09 +0300)]
conf: aliases: hdmi: Include unconditionally the

The hdmi.conf contains the high level macro to be used by cards to create
the hdmi: device.
Instead of including it in different config files, include it in the main
aliases.conf and remove it's inclusion by other config files.

This change is needed to add support for the hdmi: device mapping via UCM.

Closes: https://github.com/alsa-project/alsa-lib/pull/393
Suggested-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
17 months agoGitHub Actions: Use actions/checkout@v4
Ryan Carsten Schmidt [Sat, 16 Mar 2024 08:34:32 +0000 (03:34 -0500)]
GitHub Actions: Use actions/checkout@v4

Fixes: #389
18 months agoconf: USB-Audio: Add Corsair HS60 Pro to the IEC958 blacklist
David Senoner [Mon, 26 Feb 2024 14:14:03 +0000 (15:14 +0100)]
conf: USB-Audio: Add Corsair HS60 Pro to the IEC958 blacklist

This device is just an external USB soundcard with a female 3.5mm jack
for a headset, no S/PDIF | IEC958 connector. Add it to the blacklist to
prevent it being opened.

Link: https://lore.kernel.org/alsa-devel/ZeWGbxZIc7AF96h0@m.b4.vu/
Signed-off-by: David Senoner <seda18@rolmail.net>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agoconf: USB-Audio: Add more Scarlett devices to the IEC958 blacklist
Geoffrey D. Bennett [Mon, 4 Mar 2024 08:29:35 +0000 (18:59 +1030)]
conf: USB-Audio: Add more Scarlett devices to the IEC958 blacklist

The Scarlett Solo and 2i2 don't have S/PDIF outputs.

Link: https://lore.kernel.org/alsa-devel/ZeWGbxZIc7AF96h0@m.b4.vu/
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agopcm: extend doc for snd_pcm_hw_params_get_sbits()
Jaroslav Kysela [Mon, 26 Feb 2024 13:52:02 +0000 (14:52 +0100)]
pcm: extend doc for snd_pcm_hw_params_get_sbits()

Try to explain more the output value and its relation between
format and sample bits defined by the format.

Link: https://github.com/larsimmisch/pyalsaaudio/pull/146
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agopcm: clarify and fix default sbits (msbits) value for all formats
Jaroslav Kysela [Fri, 23 Feb 2024 20:50:01 +0000 (21:50 +0100)]
pcm: clarify and fix default sbits (msbits) value for all formats

As described in the kernel patch (link bellow), the significant (resolution)
bits should be related to the usable sample bits not the physical sample bits.

Link: https://lore.kernel.org/linux-sound/20240222173649.1447549-1-perex@perex.cz/
Link: https://github.com/larsimmisch/pyalsaaudio/pull/146
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agotests: latency.c - fix copy-n-paste typos (sw -> hw params) in error messages
Giulio Moro [Wed, 31 Jan 2024 19:54:30 +0000 (14:54 -0500)]
tests: latency.c - fix copy-n-paste typos (sw -> hw params) in error messages

Closes: https://github.com/alsa-project/alsa-lib/pull/384
Signed-off-by: Giulio Moro <giuliomoro@yahoo.it>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agopcm: ladspa - Skip missing ladspa directories
Marc Aldorasi [Fri, 23 Feb 2024 04:42:57 +0000 (23:42 -0500)]
pcm: ladspa - Skip missing ladspa directories

Closes: https://github.com/alsa-project/alsa-lib/pull/385
Signed-off-by: Marc Aldorasi <m101010a@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agopcm: snd_pcm_(physical_)format_width() - change documentation
Jaroslav Kysela [Thu, 22 Feb 2024 17:57:33 +0000 (18:57 +0100)]
pcm: snd_pcm_(physical_)format_width() - change documentation

The word "nominal" is not so correct here. Use similar
wording as we use in the kernel space (the bit-width of the format).

Link: https://github.com/larsimmisch/pyalsaaudio/pull/146
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agopcm: plug - add automatic conversion for iec958 subframe samples
Jaroslav Kysela [Fri, 9 Feb 2024 10:21:04 +0000 (11:21 +0100)]
pcm: plug - add automatic conversion for iec958 subframe samples

As Pavel noted, a possibility to automatically convert standard
linear samples to iec958 subframe format would be handy for latest
Raspberry HDMI driver.

Link: https://lore.kernel.org/alsa-devel/81b0be0a-5ab7-db91-21cb-0c59a55291e9@ivitera.com/
Suggested-by: Pavel Hofman <pavel.hofman@ivitera.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agotopology: correct version script path
Jan Palus [Tue, 30 Jan 2024 13:24:25 +0000 (14:24 +0100)]
topology: correct version script path

contrary to libasound, version script for libatopology is a regular
source file. while it's often the case that $(builddir) and $(srcdir)
point to the same directory, they don't always have to. therefore path
needs to point explicitly to $(srcdir) for Versions script in topology

Closes: https://github.com/alsa-project/alsa-lib/pull/383
Fixes: GH-382
Fixes: dc7da761f3a2 ("topology: separate Versions linker script")
Signed-off-by: Jan Palus <jpalus@fastmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoRelease v1.2.11 v1.2.11
Jaroslav Kysela [Mon, 29 Jan 2024 16:16:07 +0000 (17:16 +0100)]
Release v1.2.11

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agopcm: document interaction of drain silence and sw silence
Zeno Endemann [Mon, 29 Jan 2024 14:02:44 +0000 (15:02 +0100)]
pcm: document interaction of drain silence and sw silence

I'm not sure this is the best way to describe the interaction, but I think
this needs to be mentioned in some form at least.

Closes: https://github.com/alsa-project/alsa-lib/pull/381
Signed-off-by: Zeno Endemann <zeno.endemann@mailbox.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agotopology: fix Versions file
Jaroslav Kysela [Mon, 29 Jan 2024 16:12:32 +0000 (17:12 +0100)]
topology: fix Versions file

The exported symbols were tagged with ALSA_0.9 version previously.
We cannot use a different version (regressions).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoheaders: avoid c++ keyword
Tim Blechmann [Mon, 5 Dec 2022 06:42:58 +0000 (14:42 +0800)]
headers: avoid c++ keyword

`class` is a c++ keyword, let's try not to use them in public headers

Closes: https://github.com/alsa-project/alsa-lib/pull/286
Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agopcm: route plugin: allocate temporary array on stack only one time
Jaroslav Kysela [Wed, 24 Jan 2024 17:20:44 +0000 (18:20 +0100)]
pcm: route plugin: allocate temporary array on stack only one time

Fixes: https://github.com/alsa-project/alsa-lib/pull/363
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agopcm: sofvol plugin: fix signed overflow
q66 [Thu, 7 Sep 2023 21:13:01 +0000 (23:13 +0200)]
pcm: sofvol plugin: fix signed overflow

This fixes functionality on specific setups with UBSan.

Closes: https://github.com/alsa-project/alsa-lib/pull/351
Signed-off-by: q66 <q66@chimera-linux.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoadd back Versions source file to EXTRA_DIST to fix packaging
Jaroslav Kysela [Wed, 24 Jan 2024 17:08:09 +0000 (18:08 +0100)]
add back Versions source file to EXTRA_DIST to fix packaging

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoconf: pcm: Set C-Media USB 7.1 sound card (ICUSBAUDIO7D) to six_channel for surround40
Ryan Underwood [Sat, 13 May 2023 22:16:34 +0000 (17:16 -0500)]
conf: pcm: Set C-Media USB 7.1 sound card (ICUSBAUDIO7D) to six_channel for surround40

This 7.1 analog sound card identifies as the following:
0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device (lsusb)
 1 [ICUSBAUDIO7D   ]: USB-Audio - ICUSBAUDIO7D (/proc/asound/cards)

It has the following four-channel analog stream layout:
  Interface 1
    Altset 3
    Format: S16_LE
    Channels: 4
    Endpoint: 6 OUT (ADAPTIVE)
    Rates: 44100, 48000
    Bits: 16
    Channel map: FL FR FC LFE
(/proc/asound/card1/stream0)

This layout makes it impossible to play audio to the surround (SL/SR)
speakers plugged into the "Surround" jack in 4 channel mode.  Instead,
set six_channel so that the six-channel layout will be used to access
those speakers:
  Interface 1
    Altset 4
    Format: S16_LE
    Channels: 6
    Endpoint: 6 OUT (ADAPTIVE)
    Rates: 44100, 48000
    Bits: 16
    Channel map: FL FR FC LFE SL SR

Tested with speaker-test -Dsurround40:CARD=ICUSBAUDIO7D,DEV=0 -c4

The speaker system that required surround40 in order to downmix LFE into
the front/rear mix is a Klipsch ProMedia v.2-400, which has 4 speakers
and a subwoofer with an internal crossover, connected via front and rear
stereo analog cables.

Closes: https://github.com/alsa-project/alsa-lib/pull/319
Signed-off-by: Ryan Underwood <nemesis@icequake.net>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months ago.gitignore: add src/Versions.in to ignore file list
Jaroslav Kysela [Wed, 24 Jan 2024 16:58:48 +0000 (17:58 +0100)]
.gitignore: add src/Versions.in to ignore file list

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agosrc/Versions.in: Add guards for pcm and timer syms
Nicholas Vinson [Thu, 4 Jan 2024 01:24:36 +0000 (20:24 -0500)]
src/Versions.in: Add guards for pcm and timer syms

Configure script allows for the disabling of the pcm module. When
disabled, the pcm symbols will not be available. Add guards to remove
symbols from version map when not present.

Closes: https://github.com/alsa-project/alsa-lib/pull/376
Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agosrc/Versions.in: Add guards for opt. alisp symbols
Nicholas Vinson [Mon, 1 Jan 2024 21:10:47 +0000 (16:10 -0500)]
src/Versions.in: Add guards for opt. alisp symbols

Add guards for optional alisp symbols. This ensures that the Versions
file does not contain undefined symbols when building alisp support is
disabled.

Fixes Gentoo bugs 914511 (https://bugs.gentoo.org/914511),
    914643 (https://bugs.gentoo.org/914643),
    and 919417 (https://bugs.gentoo.org/919417).

Fixes bug #305
Fixes alsa_lisp symbol error reported in bug #356

Closes: https://github.com/alsa-project/alsa-lib/pull/376
Fixes: https://github.com/alsa-project/alsa-lib/issues/305
Link: https://github.com/alsa-project/alsa-lib/issues/356
Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoconfigure.ac: Update AC_OUTPUT() function
Nicholas Vinson [Sun, 7 Jan 2024 03:54:56 +0000 (22:54 -0500)]
configure.ac: Update AC_OUTPUT() function

Modern autoconf practice says AC_OUTPUT() should be called with no
arguments and generated configuration files should be specified by
calling AC_CONFIG_FILES() before AC_OUTPUT().

Update configure.ac to follow this practice.

Closes: https://github.com/alsa-project/alsa-lib/pull/376
Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agotopology: separate Versions linker script
Jaroslav Kysela [Tue, 23 Jan 2024 15:16:41 +0000 (16:16 +0100)]
topology: separate Versions linker script

A slightly different solution is preferred than PR recommends (bellow).
Only symbols with snd_ prefix should be public. Create a minimal Versions
file for libatopology.

Link: https://github.com/alsa-project/alsa-lib/pull/376
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoseq: Add snd_seq_ump_ev_clear()
Takashi Iwai [Mon, 13 Nov 2023 11:51:56 +0000 (12:51 +0100)]
seq: Add snd_seq_ump_ev_clear()

Like snd_seq_ev_clear(), let's add a helper to clear the event record
for a UMP-capable sequencer event.

While we're at it, change snd_seq_ev_clear() to be a static inline
function, so that we make sure that the proper pointer type is
passed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
20 months agopcm: documentation improvement mostly regarding samples and frames
Zeno Endemann [Mon, 1 Jan 2024 16:59:46 +0000 (17:59 +0100)]
pcm: documentation improvement mostly regarding samples and frames

In some places samples and frames are used interchangeably, which may
be a little confusing, so update it to say 'frames' where it could matter.

Closes: https://github.com/alsa-project/alsa-lib/pull/375
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agopcm: handle start_treshold in snd_pcm_write_areas more robustly
Jaroslav Kysela [Tue, 2 Jan 2024 10:16:26 +0000 (11:16 +0100)]
pcm: handle start_treshold in snd_pcm_write_areas more robustly

The start_treshold is defined as unsigned, so fix the condition
to allow using values avobe LONG_MAX.

Also, fix the documentation for the 64-bit platforms (INTMAX -> LONG_MAX).

Fixes: https://github.com/alsa-project/alsa-lib/issues/374
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agopcm: plug plugin - fast_ops may be changed when sw_params are set
Jaroslav Kysela [Tue, 2 Jan 2024 10:03:30 +0000 (11:03 +0100)]
pcm: plug plugin - fast_ops may be changed when sw_params are set

Link: https://github.com/alsa-project/alsa-lib/issues/372
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agopcm: fix the documentation for snd_pcm_poll_descriptors again
Jaroslav Kysela [Tue, 2 Jan 2024 09:52:33 +0000 (10:52 +0100)]
pcm: fix the documentation for snd_pcm_poll_descriptors again

As noted in the github issue, the poll descriptors may change depending
on the stream parameters.

Fixes: cd04da2b ("pcm: clarify documentation of poll descriptor usage")
Fixes: https://github.com/alsa-project/alsa-lib/issues/372
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agocontrol: remap - fix the endless loop in remap_numid_child_new()
Jaroslav Kysela [Tue, 19 Dec 2023 17:37:56 +0000 (18:37 +0100)]
control: remap - fix the endless loop in remap_numid_child_new()

Avoid the new numid search for the maped only controls.

Link: https://lore.kernel.org/alsa-devel/20231219164539.GB14858@ediswmail.ad.cirrus.com/
Reported-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoconfigure: bumb version to 1.2.11pre1 (for aplay/alsa-utils)
Jaroslav Kysela [Tue, 12 Dec 2023 12:41:30 +0000 (13:41 +0100)]
configure: bumb version to 1.2.11pre1 (for aplay/alsa-utils)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoaserver: fix buffer overwriting
Mingjie Shen [Wed, 15 Nov 2023 21:40:07 +0000 (16:40 -0500)]
aserver: fix buffer overwriting

name array should allocate space for the null terminator. Also, need to
check if client->name has enough space for strcpy.

Closes: https://github.com/alsa-project/alsa-lib/pull/364
Signed-off-by: Mingjie Shen <shen497@purdue.edu>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agopcm: clarify documentation of poll descriptor usage
Zeno Endemann [Fri, 24 Nov 2023 13:33:47 +0000 (14:33 +0100)]
pcm: clarify documentation of poll descriptor usage

This is based on my understanding of the intended behavior, the
test/pcm.c example code, as well as the github pull request
discussion (#370).

There needs to be more clarifiaction regarding the exact semantics
of the value of the revents output parameter of
snd_pcm_poll_descriptors_revents, since there are events that do
not necessarily correspond to POLLIN or POLLOUT (such as period
events), but I believe this is a lot less obvious and needs
confirmation first.

Closes: https://github.com/alsa-project/alsa-lib/pull/370
Signed-off-by: Zeno Endemann <zeno.endemann@mailbox.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agopcm: clarify documentation on some hw params related functions
Zeno Endemann [Fri, 24 Nov 2023 12:49:49 +0000 (13:49 +0100)]
pcm: clarify documentation on some hw params related functions

Closes: https://github.com/alsa-project/alsa-lib/pull/369
Signed-off-by: Zeno Endemann <zeno.endemann@mailbox.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agopcm: Fix incompatible-pointer-type warnings
Cezary Rojewski [Fri, 4 Aug 2023 08:20:33 +0000 (10:20 +0200)]
pcm: Fix incompatible-pointer-type warnings

Update snd_pcm_subformat_t getters and setters so they no longer throw
warnings when building.

Closes: https://github.com/alsa-project/alsa-lib/pull/342
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agopcm: Add MSBITS subformat options
Cezary Rojewski [Fri, 4 Aug 2023 08:13:40 +0000 (10:13 +0200)]
pcm: Add MSBITS subformat options

Improve granularity of format selection for S32/U32 formats by adding
masks representing 20, 24 and 32 most significant bits.

Closes: https://github.com/alsa-project/alsa-lib/pull/342
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agopcm: Introduce snd_pcm_subformat_value()
Cezary Rojewski [Fri, 4 Aug 2023 08:07:19 +0000 (10:07 +0200)]
pcm: Introduce snd_pcm_subformat_value()

Allow userspace applications to select subformats easily just like in
snd_pcm_format_t case - by string conversion.

Closes: https://github.com/alsa-project/alsa-lib/pull/342
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
21 months agoseq: Check protocol compatibility with the current version
Takashi Iwai [Mon, 6 Nov 2023 15:36:55 +0000 (16:36 +0100)]
seq: Check protocol compatibility with the current version

There is no need for checking the protocol compatibility with another
version, but we just need to check for the current version.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
21 months agoseq: Simplify snd_seq_extract_output()
Takashi Iwai [Mon, 6 Nov 2023 15:33:59 +0000 (16:33 +0100)]
seq: Simplify snd_seq_extract_output()

Now that we never put UMP events on the output buffer in the legacy
mode, the check and skip of UMP events are no longer necessary.
It means that ump_allowed argument is meaningless in extract_output(),
too.

Let's drop the unnecessary check and move the code extract_output()
into snd_seq_extract_output() again, and call this directly from
snd_seq_ump_extract_output() for simplification.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
21 months agoseq: Clear UMP event flag for legacy apps
Takashi Iwai [Mon, 6 Nov 2023 15:27:11 +0000 (16:27 +0100)]
seq: Clear UMP event flag for legacy apps

It seems that some applications (at least Chrome WebMIDI) set random
bits to the flags of event packet, and this confuses as if they were
UMP-events, which are eventually filtered out.

Although it's a bug of applications, it's better to avoid the
regressions.  So this patch forcibly clears the UMP flag of the
incoming and outgoing events when the application is running in the
legacy mode (i.e. midi_version = 0).

Fixes: 2aefb5c41cc0 ("seq: Add UMP support")
Closes: https://github.com/alsa-project/alsa-lib/issues/360
Signed-off-by: Takashi Iwai <tiwai@suse.de>
21 months agomixer: simple: Support dB TLVs for CTL_SINGLE controls
Hector Martin [Sat, 28 Oct 2023 12:33:29 +0000 (21:33 +0900)]
mixer: simple: Support dB TLVs for CTL_SINGLE controls

dB mappings do not work for controls not named "* Volume", since we do not
fall back to CTL_SINGLE in get_selem_ctl. Add that branch to make it
work.

Fixes dB ranges for e.g. controls named "* Gain".

Closes: https://github.com/alsa-project/alsa-lib/pull/358
Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agoseq: Fix invalid sanity-check in snd_seq_set_input_buffer_size()
Takashi Iwai [Sat, 4 Nov 2023 09:05:39 +0000 (10:05 +0100)]
seq: Fix invalid sanity-check in snd_seq_set_input_buffer_size()

snd_seq_set_input_buffer_size() has an assert() call with packet_size,
but it's still uninitialized at that point.  Fix it with the real
packet size.

Fixes: 2aefb5c41cc0 ("seq: Add UMP support")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
22 months agoseq: Fix typos in symbol version definitions
Takashi Iwai [Tue, 10 Oct 2023 06:20:15 +0000 (08:20 +0200)]
seq: Fix typos in symbol version definitions

There were obvious typos in src/Versions.in that resulted in the
undefined symbols.  Correct those entries.

Fixes: 2aefb5c41cc0 ("seq: Add UMP support")
Closes: https://github.com/alsa-project/alsa-lib/issues/356
Signed-off-by: Takashi Iwai <tiwai@suse.de>
23 months agoreshuffle included files to include config.h as first - v2
Jaroslav Kysela [Wed, 13 Sep 2023 10:27:21 +0000 (12:27 +0200)]
reshuffle included files to include config.h as first - v2

config.h may contain defines like _FILE_OFFSET_BITS which influence
the system wide include files (off_t types, open -> open64 function
usage etc.).

Fixes: ad3a8b8b ("reshuffle included files to include config.h as first")
Related: https://github.com/alsa-project/alsa-lib/pull/333
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
23 months agopcm: Fix segfault with 32bit libs
Takashi Iwai [Sat, 9 Sep 2023 15:42:03 +0000 (17:42 +0200)]
pcm: Fix segfault with 32bit libs

The recent rearrangement of header inclusion order caused a regression
showing segfaults on 32bit Arm.  The primary reason is the
inconsistent compile condition depending on the inclusion of config.h;
while most of other code include pcm_local.h (that implicitly includes
config.h) at first, pcm_direct.c doesn't do it, hence the access with
direct plugins crashes.

For fixing it, we need to include config.h at the beginning.  But,
it's better to include pcm_local.h for all relevant code for
consistency.  The patch does it, and also it adds the guard in
pcm_local.h for double inclusions.

Fixes: ad3a8b8b314e ("reshuffle included files to include config.h as first")
Link: https://github.com/alsa-project/alsa-lib/issues/352
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2 years agoglobal.h: move __STRING() macro outside !PIC ifdef block
Jaroslav Kysela [Wed, 6 Sep 2023 13:16:44 +0000 (15:16 +0200)]
global.h: move __STRING() macro outside !PIC ifdef block

It solves the musl libc compilation issue.

control.c: In function 'snd_ctl_open_conf':
../../include/global.h:98:36: warning: implicit declaration of function '__STRING' [-Wimplicit-function-declaratio]
   98 | #define SND_DLSYM_VERSION(version) __STRING(version)
      |                                    ^~~~~~~~

Fixes: https://github.com/alsa-project/alsa-lib/issues/350
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agocontrol.h: Fix ump header file detection
Jaroslav Kysela [Mon, 4 Sep 2023 07:38:26 +0000 (09:38 +0200)]
control.h: Fix ump header file detection

Apparently, the control.h is used from apps separately (outside
asoundlib.h). Avoid errors like:

/usr/include/alsa/control.h:417:47: error: ‘snd_ump_endpoint_info_t’ has not been declared
  417 | int snd_ctl_ump_endpoint_info(snd_ctl_t *ctl, snd_ump_endpoint_info_t *info);
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/alsa/control.h:418:44: error: ‘snd_ump_block_info_t’ has not been declared
  418 | int snd_ctl_ump_block_info(snd_ctl_t *ctl, snd_ump_block_info_t *info);
      |                                            ^~~~~~~~~~~~~~~~~~~~

Fixes: https://github.com/alsa-project/alsa-lib/issues/348
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agogitcompile: Add static build
Jaroslav Kysela [Mon, 4 Sep 2023 07:37:29 +0000 (09:37 +0200)]
gitcompile: Add static build

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agoRelease v1.2.10 v1.2.10
Jaroslav Kysela [Fri, 1 Sep 2023 15:35:48 +0000 (17:35 +0200)]
Release v1.2.10

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agoFix symver build error on non-ELF platforms
Bernd Kuhls [Thu, 29 Jun 2023 05:57:21 +0000 (07:57 +0200)]
Fix symver build error on non-ELF platforms

The following error is observed on Microblaze [1] build:

    error: symver is only supported on ELF platforms

due to using __attribute__((symver)) on non-ELF platform.

[1] http://autobuild.buildroot.net/results/1e9/1e965d83d75615f35308440c5db044314a349357/build-end.log

ac_check_attribute_symver.m4 was downloaded from
https://github.com/smuellerDD/libkcapi/blob/master/m4/ac_check_attribute_symver.m4

Fixes: https://github.com/alsa-project/alsa-lib/pull/334
Signed-off-by: Tan En De <ende.tan@starfivetech.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agoucm: main - remove cast to pointer from integer of different size warning
Jaroslav Kysela [Fri, 1 Sep 2023 14:50:03 +0000 (16:50 +0200)]
ucm: main - remove cast to pointer from integer of different size warning

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agoucm: mark internal functions static
Tony Wasserka [Sat, 1 Jul 2023 17:09:47 +0000 (19:09 +0200)]
ucm: mark internal functions static

From: Tony Wasserka /neobrain@github/
Fixes: https://github.com/alsa-project/alsa-lib/pull/335
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agotopology: fix src/mixer/mixer.c return value warning
Jaroslav Kysela [Fri, 1 Sep 2023 14:27:43 +0000 (16:27 +0200)]
topology: fix src/mixer/mixer.c return value warning

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agodogyxen: fix topology.h warnings
Jaroslav Kysela [Fri, 1 Sep 2023 14:27:15 +0000 (16:27 +0200)]
dogyxen: fix topology.h warnings

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agodoxygen: fix broken examples links
borine [Wed, 2 Aug 2023 15:11:50 +0000 (16:11 +0100)]
doxygen: fix broken examples links

From: borine@github
Link: https://github.com/alsa-project/alsa-lib/pull/340
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agodoxygen: include docs for shmarea functions
borine [Wed, 2 Aug 2023 13:40:29 +0000 (14:40 +0100)]
doxygen: include docs for shmarea functions

From: borine@github
Link: https://github.com/alsa-project/alsa-lib/pull/340
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agodoxygen: conf: do not hide PCM specific function
borine [Sun, 30 Jul 2023 15:26:56 +0000 (16:26 +0100)]
doxygen: conf: do not hide PCM specific function

From: borine@github
Link: https://github.com/alsa-project/alsa-lib/pull/340
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agodoxygen: silence warning from asoundlib.h
borine [Sun, 30 Jul 2023 14:51:46 +0000 (15:51 +0100)]
doxygen: silence warning from asoundlib.h

From: borine@github
Link: https://github.com/alsa-project/alsa-lib/pull/340
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agodoxygen: ucm: silence warnings
borine [Sun, 30 Jul 2023 12:23:04 +0000 (13:23 +0100)]
doxygen: ucm: silence warnings

Removes duplicate documentation blocks and fixes 'not documented' warnings

From: borine@github
Link: https://github.com/alsa-project/alsa-lib/pull/340
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2 years agodoxygen: topology: silence 'not documented' warnings
borine [Sun, 30 Jul 2023 11:05:13 +0000 (12:05 +0100)]
doxygen: topology: silence 'not documented' warnings

From: borine@github
Link: https://github.com/alsa-project/alsa-lib/pull/340
Signed-off-by: Jaroslav Kysela <perex@perex.cz>