commit | 04952ee137f79cd0dae4256f38ff4fb2570017a7 | [log] [tgz] |
---|---|---|
author | Ricardo Biehl Pasquali <rbpoficial@gmail.com> | Wed Oct 05 20:32:09 2016 -0300 |
committer | Ricardo Biehl Pasquali <rbpoficial@gmail.com> | Wed Oct 05 20:32:09 2016 -0300 |
tree | e08b8247388e3fa78e28ddcb85a8059fb93811f5 | |
parent | 6a38d5fa49fa08e4bf8d20c6fb4741eaedee9dc1 [diff] [blame] |
included only necessary headers If users want to use only pcm.c or mixer.c they can. It's not necessary to include tinyalsa/asoundlib.h because mixer.c doesn't use pcm.h and pcm.c doesn't use mixer.h.
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