Struct libpulse_binding::context::introspect::CardPortInfo
[−]
[src]
#[repr(C)]pub struct CardPortInfo { pub name: *const c_char, pub description: *const c_char, pub priority: u32, pub available: PortAvailable, pub direction: FlagSet, pub n_profiles: u32, pub profiles: *mut *mut CardProfileInfo, pub proplist: *mut ProplistInternal, pub latency_offset: i64, pub profiles2: *mut *mut CardProfileInfo2, }
Stores information about a specific port of a card.
Please note that this structure can be extended as part of evolutionary API updates at any time in any new release.
Fields
name: *const c_char
Name of this port.
description: *const c_char
Description of this port.
priority: u32
The higher this value is, the more useful this port is as a default.
available: PortAvailable
Availability status of this port.
direction: FlagSet
The direction of this port.
n_profiles: u32
Number of entries in profile array.
profiles: *mut *mut CardProfileInfo
Deprecated
Superseded by profiles2
.
proplist: *mut ProplistInternal
Property list.
latency_offset: i64
Latency offset of the port that gets added to the sink/source latency when the port is active.
profiles2: *mut *mut CardProfileInfo2
Array of pointers to available profiles, or NULL
. Array is terminated by an entry set to
NULL
.