]> git.alsa-project.org Git - alsa-lib.git/commit
topology: Insert new element based on its index value
authorFuwei Tang <fuweix.tang@intel.com>
Thu, 13 Apr 2017 06:52:44 +0000 (14:52 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Apr 2017 10:55:54 +0000 (12:55 +0200)
commitdfd5ebd33f334e1176583c7e1255bb01a5c49d15
treefe616ef0f5094b0a57848a75c558c7127550ebab
parente736715a8ed4c8690059479fd1d0e04e3320c939
topology: Insert new element based on its index value

When creating a new element, insert it into the list in the ascending order of
index value.

Signed-off-by: Fuwei Tang <fuweix.tang@intel.com>
Reviewed-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/topology/elem.c