forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename TtsUtterance::*CanEnqueue to TtsUtterance::*ShouldClearQueue
TtsController owns a queue of TtsUtterance objects. On each call to SpeakOrEnqueue, the queue is processed in some way: - if the utterance requests a clear, the queue is cleared, and the utterance is enqueued (maybe implicitly via immediate processing) - if the utterance doesn't request a clear, the utterance is simply enqueued If the controller isn't ready (e.g. built in voices are loading, platform is initializing), or if the controller is in a paused state, processing ends. Otherwise, in both of the above cases thereafter, the queue is immediately processed (e.g. the controller begins dequeueing and speaking utterances in fifo order). Prior to this change, the "CanEnqueue" naming became somewhat misleading when dealing with utterances especially in paused/not ready scenarios; issue fixed here: https://chromium-review.googlesource.com/c/chromium/src/+/2543374 This change follows up by adjusting naming accordingly. R=avi@chromium.org, dmazzoni@chromium.org TBR=seantopping@chromium.org Change-Id: I30881e22b14b774220af1f7364ee1050bdd789d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2550430 Commit-Queue: David Tseng <dtseng@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#829464}
- Loading branch information
1 parent
116fc64
commit c06cdad
Showing
11 changed files
with
50 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters