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

pub struct SampleInfo<'a> {
    pub index: u32,
    pub name: Option<Cow<'a, str>>,
    pub volume: ChannelVolumes,
    pub sample_spec: Spec,
    pub channel_map: Map,
    pub duration: MicroSeconds,
    pub bytes: u32,
    pub lazy: bool,
    pub filename: Option<Cow<'a, str>>,
    pub proplist: Proplist,
}

Stores information about sample cache entries.

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 entry.

Name of this entry.

Default volume of this entry.

Sample specification of the sample.

The channel map.

Duration of this entry.

Length of this sample in bytes.

Non-zero when this is a lazy cache entry.

In case this is a lazy cache entry, the filename for the sound file to be loaded on demand.

Property list for this sample.

Trait Implementations

impl<'a> Debug for SampleInfo<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> !Send for SampleInfo<'a>

impl<'a> !Sync for SampleInfo<'a>