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 of this card.

Name of this card.

Index of the owning module, or ::def::INVALID_INDEX.

Driver name.

Number of entries in profile array.

Deprecated

Superseded by profiles2.

Deprecated

Superseded by active_profile2.

Property list.

Number of entries in port array.

Array of pointers to ports, or NULL. Array is terminated by an entry set to NULL.

Array of pointers to available profiles, or NULL. Array is terminated by an entry set to NULL.

Pointer to active profile in the array, or NULL.