| commit | 7554ff0e8413c83e43f6092bb359678508564fc7 | [log] [tgz] |
|---|---|---|
| author | Chris Thornton <thorntonc@google.com> | Sun Apr 30 19:46:39 2017 -0700 |
| committer | Chris Thornton <thorntonc@google.com> | Wed May 03 17:49:39 2017 -0700 |
| tree | 91807b516b5b3efb988021b10320e3b0d992a068 | |
| parent | 9328f3238211d787af8acf7e07ee7173939e42e7 [diff] |
Add getData() member to SoundTriggerDetector.EventPayload. If the HAL populates the recognition event with data that isn't trigger audio, it's currently impossible for clients to actually read that opaque data. By adding this getter, clients who understand how the detection engine works can react to whatever is in the data blob. Test: Modify SoundTriggerTestApp to verify that the data is accessible. Change-Id: I8a9feccab98e2d15653dd55f28a43095f8ee1e44