[alsa-devel] [PATCH][RFC][alsa-utils 5/9] alsactl: use link list to maintain source of events

Jaroslav Kysela perex at perex.cz
Mon Oct 8 17:14:28 CEST 2018


Dne 7.10.2018 v 05:04 Takashi Sakamoto napsal(a):
> 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?

[alsa-utils]$ git log alsactl/list.h
commit b402cf543aee5f6cd7561d964065a26f07459c8c
Author: Jaroslav Kysela <perex at perex.cz>
Date:   Thu Jul 31 15:45:08 2008 +0200

    Initial 'alsactl init' implementation

    See 'man 7 alsactl_init' for more details.

    Signed-off-by: Jaroslav Kysela <perex at perex.cz>

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


More information about the Alsa-devel mailing list