alsa-lib/src/control
Takashi Sakamoto df43c2d380 ctl: use condition statements instead of assert() for new APIs to add an element set
Usage of assert() is not better practice of programming as shared library
APIs. They should return appropriate error code to promote applications to
handle error state.

This commit applies condition statements with return value of -EINVAL,
instead of assert(). As a backward compatibility for existent applications,
old APIs still call assert().

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-07-20 14:32:14 +02:00
..
cards.c Allow specifying the max number of cards 2013-05-24 17:21:15 +02:00
control.c ctl: use condition statements instead of assert() for new APIs to add an element set 2016-07-20 14:32:14 +02:00
control_ext.c Fix the binary compatibility of ext-ctl plugin with protocol 1.0.0 2012-06-25 23:16:14 +02:00
control_hw.c Allow hint for ctl, hwdep, timer and seq 2015-04-30 14:52:35 +02:00
control_local.h control, pcm: implement snd_ctl_abort() and snd_pcm_abort() functions 2013-04-08 13:28:03 +02:00
control_shm.c Allow hint for ctl, hwdep, timer and seq 2015-04-30 14:52:35 +02:00
control_symbols.c Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
ctlparse.c ctl: use automatic variable instead of call of alloca(3) 2016-06-27 17:56:21 +02:00
hcontrol.c hctl: remove assertion from element event handler because removal event overwrites all of queued events 2016-07-11 12:44:38 +02:00
Makefile.am autotools: update style 2014-02-26 08:16:22 +01:00
namehint.c ctl: use automatic variable instead of call of alloca(3) 2016-06-27 17:56:21 +02:00
setup.c ctl: use automatic variable instead of call of alloca(3) 2016-06-27 17:56:21 +02:00
tlv.c ctl: use automatic variable instead of call of alloca(3) 2016-06-27 17:56:21 +02:00