diff options
author | fulup <fulup.arfoll@iot.bzh> | 2017-06-27 18:21:20 +0200 |
---|---|---|
committer | fulup <fulup.arfoll@iot.bzh> | 2017-06-27 18:21:20 +0200 |
commit | 10c42e135b22bf323836100ede042ec47ddb22a1 (patch) | |
tree | 7eb7a94df5980de81480c8671603ec4dfca0f6c9 /Shared-Interface | |
parent | 6c0d556e956eaf1f4eea734d7313d258dd75b878 (diff) |
Work in Progress
Diffstat (limited to 'Shared-Interface')
-rw-r--r-- | Shared-Interface/audio-interface.h | 12 |
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 */ |