aboutsummaryrefslogtreecommitdiffstats
path: root/Shared-Interface/audio-interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'Shared-Interface/audio-interface.h')
-rw-r--r--Shared-Interface/audio-interface.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/Shared-Interface/audio-interface.h b/Shared-Interface/audio-interface.h
index ee681aa..4fbda4b 100644
--- a/Shared-Interface/audio-interface.h
+++ b/Shared-Interface/audio-interface.h
@@ -19,13 +19,17 @@
* http://www.tldp.org/HOWTO/Alsa-sound-6.html
*/
-#ifndef AUDIOCOMMON_H
-#define AUDIOCOMMON_H
+#ifndef AUDIO_INTERF_H
+#define AUDIO_INTERF_H
-#include <json-c/json.h>
#define AFB_BINDING_VERSION 2
+
+#include <json-c/json.h>
#include <afb/afb-binding.h>
+// Waiting for official macro from José
+#define AFB_GET_VERBOSITY afb_get_verbosity_v2()
+
#ifndef PUBLIC
#define PUBLIC
#endif
@@ -64,5 +68,5 @@ typedef enum {
PUBLIC int cbCheckResponse(struct afb_req request, int iserror, struct json_object *result) ;
PUBLIC void pingtest(struct afb_req request);
-#endif /* AUDIOCOMMON_H */
+#endif /* AUDIO_INTERF_H */