summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-07-15 09:23:05 +0900
committerTakashi Iwai <tiwai@suse.de>2016-07-15 08:16:31 +0200
commit9e1c73cdd471987220e2e731517222292f4c3fac (patch)
treedb54535505941d0f15b91e8205b3b61d707dd368
parent33e946fdd32da2b918e88750fcfd78014ae3e079 (diff)
downloadalsa-lib-9e1c73cdd471987220e2e731517222292f4c3fac.tar.gz
mixer: include library local header to find layout of structures
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> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--src/mixer/simple_none.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
index 4e556604..1d2112d9 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"