[alsa-devel] [PATCH][RFC][alsa-utils 5/9] alsactl: use link list to maintain source of events
Takashi Iwai
tiwai at suse.de
Mon Oct 8 17:06:47 CEST 2018
On Sun, 07 Oct 2018 05:04:36 +0200,
Takashi Sakamoto wrote:
>
> Hi Jaroslav,
>
> On Oct 6 2018 02:14, Jaroslav Kysela wrote:
> > Dne 5.10.2018 v 16:47 Takashi Sakamoto napsal(a):
> >> At present, handlers for control nodes are maintained by one-dimensional
> >> array. This is not necessarily useful to maintain handlers with
> >> associated information.
> >>
> >> This commit adds link-list for the maintenance.
> >
> > Thanks for the improved code.
> >
> > Please, use macros in list.h to manage linked list which are inherited
> > from the kernel here.
>
> Let me confirm the macro about which you mention.
>
> This patchset is for alsa-utils. In a package of alsa-utils, there's no
> such header.
>
> A package of alsa-lib v1.1.6 has 'include/list.h', however this is not
> installation target.
>
> Would I ask you where the list is available?
It's fine to put a common list.h into alsa-utils/include.
thanks,
Takashi
More information about the Alsa-devel
mailing list