Commit graph

5 commits

Author SHA1 Message Date
Colin Cross
cc8d9f9fcb Avoid C-style cast warnings
hardware/libhardware/include was being included with -isystem, which
hides warnings.  Use a macro to convert modules to hw_device_t** to call
the open function that works in C++ and C.

Bug: 32018017
Test: m -j
Change-Id: If68bf15581975f1217fcab366cef7bc784894641
2016-10-07 13:10:20 -07:00
Chris Thornton
0a965102e7 Bump the sound trigger device api's minor version number.
This is needed so we know if we should look for the
stop_all_recognitions function.

Change-Id: Ifa1d7ac0fa293e04bf80729bf34fefa48e74b8bb
2016-03-30 11:25:11 -07:00
Chris Thornton
42a448d790 Adds stop_all_recognitions as an optional method to the sound trigger hal.
Change-Id: I6c905b79673fe21782f5dc5f3abc4c2ac75de805
2016-03-29 09:19:44 -07:00
Eric Laurent
30f3e6d348 sound trigger: update HAL
New start_recognition() prototype with recognition
configuration structure specifying:
- List of keyphrases to listen to.
- Recognition mode for each keyphrase
- List of users and min confidence levels for each users

New recognition event format with confidence level and user ID
for each user.

Bug: 12378680.
Change-Id: I95e998c735321ceb5c27f477d894b574a6eca860
2014-07-07 10:15:45 -07:00
Eric Laurent
46bbe8a782 added sound trigger HAL.
Defined HAL for hardware voice and sound activity
activity detection (sound trigger).

Change-Id: I04f3c770c69a81245e8a15dd9e097e2c3f5ef069
2014-06-04 14:34:06 -07:00