summaryrefslogtreecommitdiffstats
path: root/binding/microphone/microphone.h
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2019-10-15 15:14:30 +0200
committerTobias Jahnke <tobias.jahnke@microchip.com>2019-10-16 06:11:37 +0000
commite91eaa18befd14446d280311c9bd5c05f29801f0 (patch)
treec8921df433cacd724a7ade71f74be2aa962adff0 /binding/microphone/microphone.h
parent6854f72cb81b10e1add164e754aba1952df5b269 (diff)
unicens-controller: add DOA feature
Introduce a new API to retrieve the current direction of audio (DOA) recognized by the microphone. Bug-AGL: SPEC-2899 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com> Change-Id: I387efaeaf0cffd06b3d88efbeeaf2ef7eb23c780
Diffstat (limited to 'binding/microphone/microphone.h')
-rw-r--r--binding/microphone/microphone.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/binding/microphone/microphone.h b/binding/microphone/microphone.h
index 01fbcb2..27ee4ea 100644
--- a/binding/microphone/microphone.h
+++ b/binding/microphone/microphone.h
@@ -22,5 +22,7 @@
/* notification */
extern void microphone_availablility_changed(uint16_t node_id, bool available);
+extern void microphone_message_received(uint16_t node, uint16_t msg_id, uint16_t data_sz, uint8_t *data_ptr);
/* JSON API */
extern void microphone_mode_set_api(afb_req_t request);
+extern void microphone_doa_get_api(afb_req_t request);