- Jan 02, 2025
-
-
Jordi Mallach authored
-
Jordi Mallach authored
-
- Jan 01, 2025
-
-
Jordi Mallach authored
-
- Dec 10, 2024
-
-
Jordi Mallach authored
Update to upstream version '1.2.13' with Debian dir 1334bacd8c9647d10e42324b5193e3fcf9434994
-
Jordi Mallach authored
-
- Nov 12, 2024
-
-
Jaroslav Kysela authored
Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
Jaroslav Kysela authored
Fix copy-n-paste errors. Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
- Oct 24, 2024
-
-
Jaroslav Kysela authored
Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
- Oct 21, 2024
-
-
Jaroslav Kysela authored
Closes: https://github.com/alsa-project/alsa-lib/issues/411 Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
- Sep 19, 2024
-
-
Jaroslav Kysela authored
Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
- Sep 06, 2024
-
-
Jaroslav Kysela authored
It reduces probablity to activate the async handler when snd_pcm_close() is called. Link: https://github.com/alsa-project/alsa-lib/issues/394 Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
Jaroslav Kysela authored
Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
Arkadiusz Bokowy authored
In case when dB information does not appear as the only TLV type in the stream (it might be wrapped in a container, but the container can not have any other type), the TLV parser fails to get the dB TLV pointer. This commit fixes it by distinguishing between TLV parse error and dB information not being found in a container (-ENOENT), so the parser can iterate over all elements in the container. Also, it fixes out-of-bounds read in case of malicious TLV record. Closes: https://github.com/alsa-project/alsa-lib/pull/409 Signed-off-by:
Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com> Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
Takashi Iwai authored
spcm->info bits should be a copy of the slave PCM info as is. While we clear the unsupported SND_PCM_INFO_PAUSE bit there, it should be rather cleared only for the exposed info to apps, not spcm->info. Fixes: 982786e9 ("Fix bogus pause flag on dmix") Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
The fix for PCM dmix suspend/resume checks spcm->info bit of SND_PCM_INFO_RESUME for applying a workaround for drivers with the full resume support. This assumed that scpm->info is exposed from the underlying slave PCM device. The above is true for the first opened instance, but for the second opened instance, it's a copy from the saved data in shmem. And, we dropped SND_PCM_INFO_RESUME bit there to assure not to expose the full resume capability to applications. This resulted in the inconsistencies, and when the second instance is resumed at first, it misses the snd_pcm_resume() call, hence the driver doesn't react properly any longer. For addressing it, we keep SND_PCM_INFO_RESUME bit in shmptr->s.info bits as is, while dropping the bit exposed to apps in snd_pcm_direct_hw_refine() and *_hw_params() callbacks. Fixes: 6d1d620e ("pcm: dmix: resume workaround for buggy driver") Reported-and-tested-by:
Chancel Liu <chancel.liu@nxp.com> Closes: https://lore.kernel.org/DB9PR04MB94988752ED7C43B399E0BC00E3942@DB9PR04MB9498.eurprd04.prod.outlook.com Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Jaroslav Kysela authored
A wrong list head is used to check if the given list with async handlers is empty. Correct this. Link: https://github.com/alsa-project/alsa-lib/issues/394 Signed-off-by:
Jaroslav Kysela <perex@perex.cz>
-
- Aug 20, 2024
-
-
Takashi Iwai authored
Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
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>
-
Jaroslav Kysela authored
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>
-
Takashi Iwai authored
The Set Key Signature message was missing at the time we defined for Flex Data types. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Aug 15, 2024
-
-
Takashi Iwai authored
Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
Provide an example program to inquire UMP Endpoint and Block info in various APIs. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
Add the NULL check for ump_endpoint_info and ump_block_info calls. Those can be NULl depending on the target. Fixes: 81b0cf46 ("control: Add UMP Endpoint and Block info query support") Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Aug 07, 2024
-
-
Takashi Iwai authored
The right function name is snd_seq_has_queue_tempo_base(). Fixes: 24c7f427 ("seq: Add API functions to set different tempo base values") Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
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>
-
- Jul 31, 2024
-
-
Takashi Iwai authored
strlcat() isn't available in every system, so better to avoid it. Rewrite the code without strlcat(). Fixes: 6167b8ce ("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>
-
- Jul 28, 2024
-
-
Takashi Iwai authored
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>
-
Takashi Iwai authored
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>
-
- Jul 19, 2024
-
-
Takashi Iwai authored
There was a typo in snd_ump_msg_flex_data_t definition; it should be "set_metronome". Fixes: 30f8ba74 ("ump_msg: Add definitions for Utility, Stream and Flex Data messages") Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Jul 09, 2024
-
-
Takashi Iwai authored
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>
-
- Jul 05, 2024
-
-
Takashi Iwai authored
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>
-
- Jul 04, 2024
-
-
Takashi Iwai authored
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>
-
Takashi Iwai authored
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>
-
Takashi Iwai authored
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>
-
- Jul 02, 2024
-
-
Jordi Mallach authored
-
- Jun 27, 2024
-
-
Jordi Mallach authored
-
Jordi Mallach authored
-
Jordi Mallach authored
-
Jordi Mallach authored
-
Jordi Mallach authored
Update to upstream version '1.2.12' with Debian dir a376a82d33687975a94606c67344ddfbe8320f63
-