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

#[repr(C)]
pub struct SinkInputInfo { pub index: u32, pub name: *const c_char, pub owner_module: u32, pub client: u32, pub sink: u32, pub sample_spec: Spec, pub channel_map: Map, pub volume: CVolume, pub buffer_usec: Usecs, pub sink_usec: Usecs, pub resample_method: *const c_char, pub driver: *const c_char, pub mute: i32, pub proplist: *mut ProplistInternal, pub corked: i32, pub has_volume: i32, pub volume_writable: i32, pub format: *mut InfoInternal, }

Stores information about sink inputs.

Please note that this structure can be extended as part of evolutionary API updates at any time in any new release.

Fields

Index of the sink input.

Name of the sink input.

Index of the module this sink input belongs to, or ::def::INVALID_INDEX when it does not belong to any module.

Index of the client this sink input belongs to, or ::def::INVALID_INDEX when it does not belong to any client.

Index of the connected sink.

The sample specification of the sink input.

Channel map.

The volume of this sink input.

Latency due to buffering in sink input, see ::def::TimingInfo for details.

Latency of the sink device, see ::def::TimingInfo for details.

The resampling method used by this sink input.

Driver name.

Stream muted.

Property list.

Stream corked.

Stream has volume. If not set, then the meaning of this struct's volume member is unspecified.

The volume can be set. If not set, the volume can still change even though clients can't control the volume.

Stream format information.