pub struct Options {
socket: Option<String>,
socket_path: Option<String>,
fd: Option<RawDescriptor>,
params: Parameters,
}Expand description
Snd device
Fields§
§socket: Option<String>deprecated - please use –socket-path instead
socket_path: Option<String>path to the vhost-user socket to bind to. If this flag is set, –fd cannot be specified.
fd: Option<RawDescriptor>file descriptor of a connected vhost-user socket. If this flag is set, –socket-path cannot be specified.
params: Parameterscomma separated key=value pairs for setting up cras snd devices. Possible key values: capture - Enable audio capture. Default to false. backend - Which backend to use for vhost-snd (null|cras). client_type - Set specific client type for cras backend. socket_type - Set socket type for cras backend. num_output_devices - Set number of output PCM devices. num_input_devices - Set number of input PCM devices. num_output_streams - Set number of output PCM streams per device. num_input_streams - Set number of input PCM streams per device. Example: [capture=true,backend=BACKEND, num_output_devices=1,num_input_devices=1,num_output_streams=1,num_input_streams=1]