mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
b4b94c7d64
1. Captures with the AC97 dedicated MIC will have the AEC effect enabled. 2. Removes the "capture_effect" option in --ac97. BUG=b:167946783 TEST=Record in the VM by `arecord -D hw:0,1 -f S16_LE -r 48000 -c 2\ /tmp/a.out` and verify the opened stream has effect = 0x01 by `cras_test_client --dump_a`. TEST=`cat /proc/asound/I82801AAICH/codec97#0/ac97#0-0 | grep \ Capabilities` in the VM and verify "dedicated MIC PCM IN channel" is supported. TEST=`amixer controls` and verify that 'Mic Capture Switch' and 'Mic Capture Volume' mixer controls show up. TEST=Unit test. Cq-Depend: chromium:2395855 Change-Id: I67bff9528175528e284f409fac1f51ecaaa89427 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2394983 Tested-by: Judy Hsiao <judyhsiao@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Chih-Yang Hsia <paulhsia@chromium.org> Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Auto-Submit: Judy Hsiao <judyhsiao@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |