crosvm/common/audio_streams
Davíð Steinn Geirsson acf39cf91d feat: cork PulseAudio streams on pause to reduce CPU wakeups
When the guest VM stops audio playback/capture, the PCM worker was
continuously writing silence to PulseAudio every ~10ms, keeping the
PA mainloop and audio hardware clock active. This adds PulseAudio
stream corking: on pause the stream is corked so the PA server stops
requesting data, and on resume it is uncorked. This eliminates idle
CPU wakeups and improves battery life.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 22:54:07 +00:00
..
src feat: cork PulseAudio streams on pause to reduce CPU wakeups 2026-02-25 22:54:07 +00:00
Cargo.toml Workspace deps grab bag 2025-05-16 11:26:38 -07:00
README.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00

Audio Server and Stream interfaces

The audio_streams crate provides a basic interface for playing audio. This will be used to enable playback to various audio subsystems such as Alsa and cras. To start, an empty playback example NoopStreamSource is provided.