From e91eaa18befd14446d280311c9bd5c05f29801f0 Mon Sep 17 00:00:00 2001 From: Tobias Jahnke Date: Tue, 15 Oct 2019 15:14:30 +0200 Subject: 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 Change-Id: I387efaeaf0cffd06b3d88efbeeaf2ef7eb23c780 --- binding/microphone/microphone.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'binding/microphone/microphone.h') 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); -- cgit 1.2.3-korg