Struct libpulse_binding::context::introspect::SourceOutputInfo
[−]
[src]
#[repr(C)]pub struct SourceOutputInfo { pub index: u32, pub name: *const c_char, pub owner_module: u32, pub client: u32, pub source: u32, pub sample_spec: Spec, pub channel_map: Map, pub buffer_usec: Usecs, pub source_usec: Usecs, pub resample_method: *const c_char, pub driver: *const c_char, pub proplist: *mut ProplistInternal, pub corked: i32, pub volume: CVolume, pub mute: i32, pub has_volume: i32, pub volume_writable: i32, pub format: *mut InfoInternal, }
Stores information about source outputs.
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 source output.
name: *const c_char
Name of the source output.
owner_module: u32
Index of the module this source output belongs to, or
::def::INVALID_INDEX
when it does not belong to
any module.
client: u32
Index of the client this source output belongs to, or
::def::INVALID_INDEX
when it does not belong to
any client.
source: u32
Index of the connected source.
sample_spec: Spec
The sample specification of the source output.
channel_map: Map
Channel map.
buffer_usec: Usecs
Latency due to buffering in the source output, see
::def::TimingInfo
for details.
source_usec: Usecs
Latency of the source device, see ::def::TimingInfo
for details.
resample_method: *const c_char
The resampling method used by this source output.
driver: *const c_char
Driver name.
proplist: *mut ProplistInternal
Property list.
corked: i32
Stream corked.
volume: CVolume
The volume of this source output.
mute: i32
Stream muted.
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.