commit | 87eadfccb4d145e8e1faf9d922e59ef8c0a8ab31 | [log] [tgz] |
---|---|---|
author | Yuan Zhi <yuanzhi@google.com> | Thu Jun 23 19:33:41 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 23 19:33:41 2022 +0000 |
tree | beae2ea015d611f2f4be9667458145361f93b352 | |
parent | fa6658786ed04e75740ae2dacbc52b214279528f [diff] |
[sl4f][evolution] Add audio test FIDL protocol - Convert audio facade implementation into a test component under sl4f.core_shard - Note I've merged sl4f/src/audio/facade.rs into commands.rs in order for Gerrit to show the diff between the then facade.rs and the new sl4f/audio_recording/src/lib.rs - sl4f audio facade now calls the AudioRecordingControl protocol. - Added a clear_input_audio method to clear injected audio file. This used to be done automatically in put_input_audio, but due to input size, we need to allow put_input_audio to only append. I chose to use `vector<uint8>:AUDIO_INPUT_BYTES_MAX` as input arg for `PutInputAudio` so that we can create a ffx plugin that injects audio. - [fix] Updated setui facade to handle where mic is not present (i.e FEMU). This allows e2e tests to pass on emulator. Bug: 101853 Change-Id: Ie5e8ea3a4c3ed047d5a3f5643a67b8d11978bfdd Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/686111 Reviewed-by: Tom Bergan <tombergan@google.com> Reviewed-by: Miguel Flores <miguelfrde@google.com> API-Review: Dale Sather <dalesat@google.com> Commit-Queue: Yuan Zhi <yuanzhi@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.