[PATCH] ALSA: control: expand limitation on the number of user-defined control element set per card

Jaroslav Kysela perex at perex.cz
Sat Jan 23 11:25:14 CET 2021


Dne 23. 01. 21 v 10:10 Takashi Iwai napsal(a):

> OTOH, imagine that we cap the memory consumption to 16MB instead of
> limiting only the MAX_USER_CONTROLS.  This lets user still allow to
> allocate more elements with smaller number of items (that is the
> common use case).  In this way, we don't take a risk of higher memory
> consumption while user can deploy the user elements more flexibly.

This sounds really reasonable!

				Thanks,
					Jaroslav

-- 
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.


More information about the Alsa-devel mailing list