aboutsummaryrefslogtreecommitdiffstats
path: root/AudioLogic/AudioLogicLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'AudioLogic/AudioLogicLib.h')
-rw-r--r--AudioLogic/AudioLogicLib.h24
1 files changed, 4 insertions, 20 deletions
diff --git a/AudioLogic/AudioLogicLib.h b/AudioLogic/AudioLogicLib.h
index 10e431d..77b8b7b 100644
--- a/AudioLogic/AudioLogicLib.h
+++ b/AudioLogic/AudioLogicLib.h
@@ -15,30 +15,14 @@
* limitations under the License.
*/
+#ifndef AUDIOLOGIC_H
+#define AUDIOLOGIC_H
-// few coding convention
-typedef int BOOL;
-#ifndef PUBLIC
- #define PUBLIC
-#endif
-#ifndef FALSE
- #define FALSE 0
-#endif
-#ifndef TRUE
- #define TRUE 1
-#endif
-#define STATIC static
-
-#ifndef AUDIOLIBMAPPING_H
-#define AUDIOLIBMAPPING_H
-
+#include "AudioCommonLib.h"
#include <json-c/json.h>
#include <afb/afb-binding.h>
#include <afb/afb-service-itf.h>
-#include "AlsaHalCtls.h" // Alsa Hardware Abstraction Layer Controls
-
-
// import from AlsaAfbBinding
extern const struct afb_binding_interface *afbIface;
@@ -69,5 +53,5 @@ PUBLIC void audioLogicClose(struct afb_req request);
PUBLIC void audioLogicSubscribe(struct afb_req request);
PUBLIC int audioLogicInit (struct afb_service service);
-#endif /* AUDIOLIBMAPPING_H */
+#endif /* AUDIOLOGIC_H */