Re: [PATCH v4 2/4] ALSA: pcm: Report writable chmap controls as variable
From: Takashi Iwai
Date: Wed Nov 25 2026 - 08:57:40 EST
On Tue, 24 Nov 2026 11:57:23 +0100,
Abel Vesa wrote:
>
> The chmap control TLV always describes the maps as
> SNDRV_CTL_TLVT_CHMAP_FIXED, which tells userspace the channel order
> cannot be changed.
>
> A chmap control that accepts writes exists precisely so userspace can
> reorder the channels. Report such maps as SNDRV_CTL_TLVT_CHMAP_VAR,
> so tools like alsa-lib expose the map as freely swappable.
>
> Signed-off-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>
Acked-by: Takashi Iwai <tiwai@xxxxxxx>
thanks,
Takashi