crosvm/android_audio
Mu-Le Lee 6fb22fbab0 Refactor android_audio
This commit does some refactors to android_audio:
1. Makes unused trait function unimplemented!()
2. Replaces match with Ok

Bug=b:325930215
Test=play and capture sound on a Pixel device
Test=arecord -D hw:0,0 -f dat /tmp/tmp
Test=aplay -D hw:0,0 -f dat /tmp/tmp
Test=./tools/dev_container
Test=cargo build
Test=cargo build -F audio_aaudio,libaaudio_stub
Test=./tools/run_tests
Test=./tools/presubmit

Change-Id: Ie983e317f3cbea9c187b34126a4c260de55852cc
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5632640
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Mu-Le Lee <mulelee@google.com>
Reviewed-by: Frederick Mayle <fmayle@google.com>
Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org>
2024-07-08 20:26:39 +00:00
..
src
Cargo.toml