8 Commits

Author SHA1 Message Date
Carter Hsu
928955b464 audio: enable soundtrigger concurrent cpature
Bug: 129111371
Test: manual
Change-Id: Ib6a81f56e75331bae086ef599714794bcb66b7c9
Signed-off-by: Carter Hsu <carterhsu@google.com>
2019-05-24 11:21:55 +00:00
mike dooley
6d949a6221 Enabling sound trigger V2_2 for wahoo
V2_2 has the same functionality as V2_1 except it adds one new
api, getModelState.

Note: V2_1 will be removed in a subsequent cl.

Test: built android and tested using SoundTriggerTestApp

Bug: 70206501
Change-Id: Id2647687732e79df252588d69f95d2a407e0092c
2019-01-18 00:23:43 +01:00
mike dooley
73a5380968 Allow RecogntionConfig data to be accessed on the DSP
Test: manual test with SoundTriggerTestApp on crosshatch
Bug: 75496083
Change-Id: Ibbd6ff0a401abab9704280ccef381bf8a6752973
2018-03-20 17:09:46 +01:00
Chris Thornton
799cd15d38 Remove unused modules and decrease buffer size to reduce fragmentation risk.
Test: Script calling SoundTriggerTestApp with random load/unloads to try
and replicate memory failures.
Bug: 62376452

Change-Id: I1adee3b631f4d4ab3a447f21d80d86f6fbbcf5df
2017-06-11 17:43:08 -07:00
Chris Thornton
439e4c6b7b Update sound_trigger_platform_info.xml to use new graphite IDs, and add
DND module.

Test: Run on device with new firmware with everything still working.
Change-Id: Ieb8e4ad41c89d53eb080600bbf0a5f079b50a34e
2017-06-05 16:23:09 -07:00
Chris Thornton
347a9e5def Use update usecase in ACDB files for music detector.
Test: On device.
Change-Id: If26e99ed13d64d6d75f2b241407536a3b98bd4d1
2017-04-19 18:53:17 -07:00
Chris Thornton
c5cbcafe02 Add the music detector to sound_trigger_platform_info.xml
Currently uses a duplicate instance of the hotword code, until the
merged API exists from QC. Also uses the buffer from the hotword
codepath, because it the ACDB files do not appear to support multiple
sinks.

Test: On device with the SoundTriggetTestApp.
Change-Id: I06da9f5c8fdf4e5e244148b47830b6fd067d7f80
2017-04-17 17:16:26 -07:00
Chris Thornton
120f6d1578 Add additional XML files needed for sound trigger hal.
Test: Build and check on device.
Change-Id: I65a43c164fb5e5a9a5d7b19529a7a4b94b613be4
2017-03-30 06:06:58 +00:00