[01/29] mixer: include library local header to find layout of structures
diff mbox

Message ID 1468542213-24880-2-git-send-email-o-takashi@sakamocchi.jp
State New
Headers show

Commit Message

Takashi Sakamoto July 15, 2016, 12:23 a.m. UTC
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(-)

Patch
diff mbox

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"