pa_sink_info

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

Members

Variables

active_port
pa_sink_port_info* active_port;

< Pointer to active port in the array, or NULL. \since 0.9.16

base_volume
pa_volume_t base_volume;

< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the output device. \since 0.9.15

card
uint card;

< Card index, or PA_INVALID_INDEX. \since 0.9.15

channel_map
pa_channel_map channel_map;

< Channel map

configured_latency
pa_usec_t configured_latency;

< The latency this device has been configured to. \since 0.9.11

description
const(char)* description;

< Description of this sink

driver
const(char)* driver;

< Driver name

flags
pa_sink_flags_t flags;

< Flags

formats
pa_format_info** formats;

< Array of formats supported by the sink. \since 1.0

index
uint index;

< Index of the sink

latency
pa_usec_t latency;

< Length of queued audio in the output buffer.

monitor_source
uint monitor_source;

< Index of the monitor source connected to this sink.

monitor_source_name
const(char)* monitor_source_name;

< The name of the monitor source.

mute
int mute;

< Mute switch of the sink

n_formats
ubyte n_formats;

< Number of formats supported by the sink. \since 1.0

n_ports
uint n_ports;

< Number of entries in port array \since 0.9.16

n_volume_steps
uint n_volume_steps;

< Number of volume steps for sinks which do not support arbitrary volumes. \since 0.9.15

name
const(char)* name;

< Name of the sink

owner_module
uint owner_module;

< Index of the owning module of this sink, or PA_INVALID_INDEX.

ports
pa_sink_port_info** ports;

< Array of available ports, or NULL. Array is terminated by an entry set to NULL. The number of entries is stored in n_ports. \since 0.9.16

proplist
pa_proplist* proplist;

< Property list \since 0.9.11

sample_spec
pa_sample_spec sample_spec;

< Sample spec of this sink

state
pa_sink_state_t state;

< State \since 0.9.15

volume
pa_cvolume volume;

< Volume of the sink

Meta