ALSA: pcm: optimize and clarify stream synchronization ID API

Optimize the memory usage in struct snd_pcm_runtime - use boolean
value for the standard sync ID scheme.

Introduce snd_pcm_set_sync_per_card function to build synchronization
IDs.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240625172836.589380-3-perex@perex.cz
This commit is contained in:
Jaroslav Kysela 2024-06-25 19:25:47 +02:00 • committed by Takashi Iwai
commit d712c58c55
3 changed files with 56 additions and 26 deletions