Struct libpulse_binding::context::introspect::CardInfo
[−]
[src]
#[repr(C)]pub struct CardInfo { pub index: u32, pub name: *const c_char, pub owner_module: u32, pub driver: *const c_char, pub n_profiles: u32, pub profiles: *mut CardProfileInfo, pub active_profile: *mut CardProfileInfo, pub proplist: *mut ProplistInternal, pub n_ports: u32, pub ports: *mut *mut CardPortInfo, pub profiles2: *mut *mut CardProfileInfo2, pub active_profile2: *mut CardProfileInfo2, }
Stores information about cards.
Please note that this structure can be extended as part of evolutionary API updates at any time in any new release.
Fields
index: u32
Index of this card.
name: *const c_char
Name of this card.
owner_module: u32
Index of the owning module, or ::def::INVALID_INDEX
.
driver: *const c_char
Driver name.
n_profiles: u32
Number of entries in profile array.
profiles: *mut CardProfileInfo
Deprecated
Superseded by profiles2
.
active_profile: *mut CardProfileInfo
Deprecated
Superseded by active_profile2
.
proplist: *mut ProplistInternal
Property list.
n_ports: u32
Number of entries in port array.
ports: *mut *mut CardPortInfo
Array of pointers to ports, or NULL
. Array is terminated by an entry set to NULL
.
profiles2: *mut *mut CardProfileInfo2
Array of pointers to available profiles, or NULL
. Array is terminated by an entry set to
NULL
.
active_profile2: *mut CardProfileInfo2
Pointer to active profile in the array, or NULL
.