alsa-lib/src/mixer
Takashi Sakamoto bf059f00be mixer: remove alloca() from elem_read_route()
Both of alloca() and automatic variables keep storages on stack, while
the former generates more instructions than the latter. It's better to use
the latter if the size of storage is computable at pre-compile or compile
time; i.e. just for structures.

This commit obsolete usages of alloca() with automatic variables.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-07-15 08:16:31 +02:00
..
bag.c Fix memory leak 2005-01-13 17:00:11 +00:00
Makefile.am autotools: update style 2014-02-26 08:16:22 +01:00
mixer.c mixer: Fix missing hctl handle free in snd_mixer_attach_hctl() 2014-09-23 09:11:27 +02:00
mixer_local.h Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
mixer_simple.h mixer: Fix unused parameter warnings 2014-11-21 15:22:01 +01:00
simple.c mixer: Fix inclusion of config.h 2014-11-21 15:20:48 +01:00
simple_abst.c simple_abst: null check for lib 2014-09-23 09:06:28 +02:00
simple_none.c mixer: remove alloca() from elem_read_route() 2016-07-15 08:16:31 +02:00