mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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> |
||
|---|---|---|
| .. | ||
| cards.c | ||
| control.c | ||
| control_ext.c | ||
| control_hw.c | ||
| control_local.h | ||
| control_shm.c | ||
| control_symbols.c | ||
| ctlparse.c | ||
| hcontrol.c | ||
| Makefile.am | ||
| namehint.c | ||
| setup.c | ||
| tlv.c | ||