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: u32
Index of the sink input.
name: *const c_char
Name of the sink input.
owner_module: u32
Index of the module this sink input belongs to, or
::def::INVALID_INDEX
when it does not belong to
any module.
client: u32
Index of the client this sink input belongs to, or
::def::INVALID_INDEX
when it does not belong to
any client.
sink: u32
Index of the connected sink.
sample_spec: Spec
The sample specification of the sink input.
channel_map: Map
Channel map.
volume: CVolume
The volume of this sink input.
buffer_usec: Usecs
Latency due to buffering in sink input, see
::def::TimingInfo
for details.
sink_usec: Usecs
Latency of the sink device, see
::def::TimingInfo
for details.
resample_method: *const c_char
The resampling method used by this sink input.
driver: *const c_char
Driver name.
mute: i32
Stream muted.
proplist: *mut ProplistInternal
Property list.
corked: i32
Stream corked.
has_volume: i32
Stream has volume. If not set, then the meaning of this struct's volume member is unspecified.
volume_writable: i32
The volume can be set. If not set, the volume can still change even though clients can't control the volume.
format: *mut InfoInternal
Stream format information.