DescriptionRemoving AudioSystem::GetAudioManager() usage from speech recognition.
After https://codereview.chromium.org/2763383002/ lands, AudioSystem::GetAudioManager() will be removed: it's only purpose was to assist in gradually switching clients from AudioManager to AudioSystem interface.
However, it leaked a bit in speech recognition, so - fixing it.
The plan is:
1) After the last client (WebRTC audio private API) is switched to AudioSystem interface, all the related AudioManager methods will be made protected to be used by AudioSystem only; so essentially AudioManager interface will become a factory for audio streams.
2) Further, all audio stream clients will be switched to asynchronous stream creation interface, and then to Mojo.
BUG=672468
Review-Url: https://codereview.chromium.org/2785463005
Cr-Commit-Position: refs/heads/master@{#460763}
Committed: https://chromium.googlesource.com/chromium/src/+/b6082fccb8e9fc2f21871508bdcf79ca567326ad
Patch Set 1 #
Messages
Total messages: 24 (11 generated)
|