Lines Matching refs:ControlCommand
53 Control(ControlCommand),
77 Ok(ControlCommand::parse(program_name, remaining_args)?.map(Command::Control)) in parse()
294 pub enum ControlCommand { enum
306 impl ControlCommand { impl
314 Some("get_volume") => Ok(Some(ControlCommand::GetSystemVolume)), in parse()
328 Ok(Some(ControlCommand::SetSystemVolume(volume))) in parse()
330 Some("get_mute") => Ok(Some(ControlCommand::GetSystemMute)), in parse()
343 Ok(Some(ControlCommand::SetSystemMute(mute))) in parse()
345 Some("list_output_devices") => Ok(Some(ControlCommand::ListOutputDevices)), in parse()
346 Some("list_input_devices") => Ok(Some(ControlCommand::ListInputDevices)), in parse()
347 Some("list_output_nodes") => Ok(Some(ControlCommand::ListOutputNodes)), in parse()
348 Some("list_input_nodes") => Ok(Some(ControlCommand::ListInputNodes)), in parse()
349 Some("dump_audio_debug_info") => Ok(Some(ControlCommand::DumpAudioDebugInfo)), in parse()