Remove assert from header files

Putting assert in the public macros isn't good idea at all.
Let's get rid of them.

Also, clean up snd*_alloca() functions to use a helper macro
instead of copy and paste.
This commit is contained in:
Takashi Iwai 2007-10-25 15:36:03 +02:00
parent 9eb272c753
commit 68e5771a6f
11 changed files with 43 additions and 53 deletions

View file

@ -35,6 +35,7 @@
#include <string.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <assert.h>
#include <math.h>
#include <alsa/asoundlib.h>
#include "mixer_simple.h"