aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2016-10-06 05:35:01 -0400
committerGitHub <noreply@github.com>2016-10-06 05:35:01 -0400
commit0d1494f4e2ec910762f5b768b09449ed2670c357 (patch)
treee08b8247388e3fa78e28ddcb85a8059fb93811f5 /src
parent6a38d5fa49fa08e4bf8d20c6fb4741eaedee9dc1 (diff)
parent04952ee137f79cd0dae4256f38ff4fb2570017a7 (diff)
Merge pull request #80 from ricardobiehl/master
We can include only necessary headers!?
Diffstat (limited to 'src')
-rw-r--r--src/mixer.c2
-rw-r--r--src/pcm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mixer.c b/src/mixer.c
index cf728e7..7f271e4 100644
--- a/src/mixer.c
+++ b/src/mixer.c
@@ -45,7 +45,7 @@
#define __user
#include <sound/asound.h>
-#include <tinyalsa/asoundlib.h>
+#include <tinyalsa/mixer.h>
/** A mixer control.
* @ingroup tinyalsa-mixer
diff --git a/src/pcm.c b/src/pcm.c
index a45ce75..ee9eb76 100644
--- a/src/pcm.c
+++ b/src/pcm.c
@@ -47,7 +47,7 @@
#define __user
#include <sound/asound.h>
-#include <tinyalsa/asoundlib.h>
+#include <tinyalsa/pcm.h>
#define PARAM_MAX SNDRV_PCM_HW_PARAM_LAST_INTERVAL
#define SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP (1<<2)