New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 769668 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

CRAS: add TRIGGER_ONLY stream flag

Project Member Reported by chinyue@chromium.org, Sep 28 2017

Issue description

The flags is intended for the hotword stream from sound_trigger HAL.

When a stream has TRIGGER_ONLY flag set, CRAS will only invoke its callback once when data becomes available. And doesn't not send data to it anymore.

The purpose is to not have sound_trigger HAL receive any hotword data and let the subsequent hotword stream from audio HAL to receive hotword data.

This is needed because now that we transfer hotword stream in large chunks, if we allow sound_trigger HAL to read the samples, then a large portion of data have already been read. When audio HAL connects later, it cannot read the whole hotword data.

 

Comment 1 by dgreid@chromium.org, Sep 28 2017

This is unfortunate. Once we were mandated to move this to android we probably should have just added a jack event and followed android's model. Is it too late to do that?
Status: Fixed (was: Started)

Sign in to add a comment