Stores information about sinks. More...
Data Fields | |
const char * | name |
Name of the sink. | |
uint32_t | index |
Index of the sink. | |
const char * | description |
Description of this sink. | |
pa_sample_spec | sample_spec |
Sample spec of this sink. | |
pa_channel_map | channel_map |
Channel map. | |
uint32_t | owner_module |
Index of the owning module of this sink, or PA_INVALID_INDEX. | |
pa_cvolume | volume |
Volume of the sink. | |
int | mute |
Mute switch of the sink. | |
uint32_t | monitor_source |
Index of the monitor source connected to this sink. | |
const char * | monitor_source_name |
The name of the monitor source. | |
pa_usec_t | latency |
Length of queued audio in the output buffer. | |
const char * | driver |
Driver name. | |
pa_sink_flags_t | flags |
Flags. | |
pa_proplist * | proplist |
Property list. | |
pa_usec_t | configured_latency |
The latency this device has been configured to. | |
pa_volume_t | base_volume |
Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the output device. | |
pa_sink_state_t | state |
State. | |
uint32_t | n_volume_steps |
Number of volume steps for sinks which do not support arbitrary volumes. | |
uint32_t | card |
Card index, or PA_INVALID_INDEX. | |
uint32_t | n_ports |
Number of entries in port array. | |
pa_sink_port_info ** | ports |
Array of available ports, or NULL. | |
pa_sink_port_info * | active_port |
Pointer to active port in the array, or NULL. |
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.
Pointer to active port in the array, or NULL.
Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the output device.
uint32_t pa_sink_info::card |
Card index, or PA_INVALID_INDEX.
Channel map.
The latency this device has been configured to.
const char* pa_sink_info::description |
Description of this sink.
const char* pa_sink_info::driver |
Driver name.
uint32_t pa_sink_info::index |
Index of the sink.
Length of queued audio in the output buffer.
uint32_t pa_sink_info::monitor_source |
Index of the monitor source connected to this sink.
const char* pa_sink_info::monitor_source_name |
The name of the monitor source.
Mute switch of the sink.
uint32_t pa_sink_info::n_ports |
Number of entries in port array.
uint32_t pa_sink_info::n_volume_steps |
Number of volume steps for sinks which do not support arbitrary volumes.
const char* pa_sink_info::name |
Name of the sink.
uint32_t pa_sink_info::owner_module |
Index of the owning module of this sink, or PA_INVALID_INDEX.
Array of available ports, or NULL.
Array is terminated by an entry set to NULL. The number of entries is stored in n_ports
Property list.
Sample spec of this sink.
State.
Volume of the sink.