ac97: Update Dummy* for inclusive language

We update libcras to remove ableist language like dummy. Update ac97
correspondingly.

BUG=b:167649426
TEST=./build_packages --autosetgov --board=hatch crosvm

Change-Id: I7639ee3912fd67b832bb28161e1ef91972fe1e30
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2543765
Tested-by: En-Shuo Hsu <enshuo@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org>
Commit-Queue: En-Shuo Hsu <enshuo@chromium.org>
This commit is contained in:
En-Shuo Hsu 2021-02-05 13:57:00 +08:00 committed by Commit Bot
parent 502b5de2e4
commit 37857e18d0

View file

@ -13,7 +13,7 @@ use std::time::{Duration, Instant};
use audio_streams::{
shm_streams::{ShmStream, ShmStreamSource},
BoxError, DummyStreamControl, SampleFormat, StreamControl, StreamDirection, StreamEffect,
BoxError, NoopStreamControl, SampleFormat, StreamControl, StreamDirection, StreamEffect,
};
use base::{
self, error, set_rt_prio_limit, set_rt_round_robin, warn, AsRawDescriptor, Event, RawDescriptor,
@ -200,7 +200,7 @@ impl AudioThreadInfo {
worker.thread_run.store(false, Ordering::Relaxed);
}));
self.stream_control = Some(Box::new(DummyStreamControl::new()));
self.stream_control = Some(Box::new(NoopStreamControl::new()));
}
fn stop(&mut self) {