Struct libpulse_binding::context::introspect::CardProfileInfo2 [] [src]

#[repr(C)]
pub struct CardProfileInfo2 { pub name: *const i8, pub description: *const i8, pub n_sinks: u32, pub n_sources: u32, pub priority: u32, pub available: i32, }

Stores information about a specific profile 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 of this profile.

Description of this profile.

Number of sinks this profile would create.

Number of sources this profile would create.

The higher this value is, the more useful this profile is as a default.

Is this profile available? If this is zero, meaning "unavailable", then it makes no sense to try to activate this profile. If this is non-zero, it's still not a guarantee that activating the profile will result in anything useful, it just means that the server isn't aware of any reason why the profile would definitely be useless.