Inner this library, implementation of each features can find actual layout of structures by including local header. Although, mixer feature is written without the header and as the same way for applications. This brings some inefficiencies such as usage of alloca() to keep memory objects for the structures.
This commit includes the header for further improvements in mixer feature.
Signed-off-by: Takashi Sakamoto o-takashi@sakamocchi.jp --- src/mixer/simple_none.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c index 4e55660..1d2112d 100644 --- a/src/mixer/simple_none.c +++ b/src/mixer/simple_none.c @@ -38,7 +38,7 @@ #include <assert.h> #include <math.h> #include <limits.h> -#include <alsa/asoundlib.h> +#include "local.h" #include "config.h" #include "mixer_simple.h"