Function crosvm_control::crosvm_client_snd_mute_all

source ·
#[no_mangle]
pub unsafe extern "C" fn crosvm_client_snd_mute_all(
    socket_path: *const c_char,
    muted: bool,
) -> bool
Expand description

Mute or unmute all snd devices of the crosvm instance whose control socket is listening on socket_path.

The function returns true on success or false if an error occurred.

§Safety

The caller will ensure the raw pointers in arguments passed in can be safely used by CStr::from_ptr()