Skip to main content

SILENT_SWITCHES

Constant SILENT_SWITCHES 

Source
pub const SILENT_SWITCHES: [&str; 2];
Expand description

The Chromium switches that keep a test build silent. A test run is driven on a machine a person works at, and an agent sound (turn done, waiting) through that person’s speakers is as much an intrusion as a window on their screen. mute-audio zeroes every sample and disable-audio-output swaps the audio service’s output for a fake one, so no device is opened; Chromium forwards both to the audio service process. Neither depends on the app’s sound setting, so a build that has sounds on (the default) is silent anyway, in the app’s own sounds and in any page a pane loads.