pub struct MixerControl {
pub id: u32,
pub name: String,
pub control_type: MixerControlType,
pub min: i32,
pub max: i32,
pub enum_count: u32,
pub enum_names: Vec<String>,
/* private fields */
}Expand description
A mixer control element
Fields§
§id: u32Control identifier
name: StringControl name (e.g., “Master Playback Volume”)
control_type: MixerControlTypeControl type
min: i32Minimum value (for Integer type)
max: i32Maximum value (for Integer type)
enum_count: u32Number of enumerated items (for Enumerated type)
enum_names: Vec<String>Enumerated item names