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
Test: Script calling SoundTriggerTestApp with random load/unloads to try
and replicate memory failures.
Bug: 62376452
Change-Id: I1adee3b631f4d4ab3a447f21d80d86f6fbbcf5df
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