Struct libpulse_sys::context::introspect::pa_source_info
source · #[repr(C)]pub struct pa_source_info {Show 24 fields
pub name: *const c_char,
pub index: u32,
pub description: *const c_char,
pub sample_spec: pa_sample_spec,
pub channel_map: pa_channel_map,
pub owner_module: u32,
pub volume: pa_cvolume,
pub mute: i32,
pub monitor_of_sink: u32,
pub monitor_of_sink_name: *const c_char,
pub latency: pa_usec_t,
pub driver: *const c_char,
pub flags: pa_source_flags_t,
pub proplist: *mut pa_proplist,
pub configured_latency: pa_usec_t,
pub base_volume: pa_volume_t,
pub state: pa_source_state_t,
pub n_volume_steps: u32,
pub card: u32,
pub n_ports: u32,
pub ports: *mut *mut pa_source_port_info,
pub active_port: *mut pa_source_port_info,
pub n_formats: u8,
pub formats: *mut *mut pa_format_info,
}
Fields§
§name: *const c_char
§index: u32
§description: *const c_char
§sample_spec: pa_sample_spec
§channel_map: pa_channel_map
§owner_module: u32
§volume: pa_cvolume
§mute: i32
§monitor_of_sink: u32
§monitor_of_sink_name: *const c_char
§latency: pa_usec_t
§driver: *const c_char
§flags: pa_source_flags_t
§proplist: *mut pa_proplist
§configured_latency: pa_usec_t
§base_volume: pa_volume_t
§state: pa_source_state_t
§n_volume_steps: u32
§card: u32
§n_ports: u32
§ports: *mut *mut pa_source_port_info
§active_port: *mut pa_source_port_info
§n_formats: u8
§formats: *mut *mut pa_format_info
Auto Trait Implementations§
impl RefUnwindSafe for pa_source_info
impl !Send for pa_source_info
impl !Sync for pa_source_info
impl Unpin for pa_source_info
impl UnwindSafe for pa_source_info
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more