[alsa-devel] Card name size?

Takashi Iwai tiwai at suse.de
Mon Jan 12 17:55:49 CET 2015


At Sun, 11 Jan 2015 20:52:00 +0000,
Alan Horstmann wrote:
> 
> Hi,
> 
> Just a quick question...
> is there a (guaranteed) max size to the name string returned by
>    snd_ctl_card_info_get_name()
> or is it just whatever the driver sets?

It's max 32 letters (including NUL).
longname and mixername are max 80, id and driver are max 16.


Takashi


More information about the Alsa-devel mailing list