pa_source_info

Stores information about sources. 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_source_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 input 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 source

driver
const(char)* driver;

< Driver name

flags
pa_source_flags_t flags;

< Flags

formats
pa_format_info** formats;

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

index
uint index;

< Index of the source

latency
pa_usec_t latency;

< Length of filled record buffer of this source.

monitor_of_sink
uint monitor_of_sink;

< If this is a monitor source, the index of the owning sink, otherwise PA_INVALID_INDEX.

monitor_of_sink_name
const(char)* monitor_of_sink_name;

< Name of the owning sink, or NULL.

mute
int mute;

< Mute switch of the sink

n_formats
ubyte n_formats;

< Number of formats supported by the source. \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 sources which do not support arbitrary volumes. \since 0.9.15

name
const(char)* name;

< Name of the source

owner_module
uint owner_module;

< Owning module index, or PA_INVALID_INDEX.

ports
pa_source_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 source

state
pa_source_state_t state;

< State \since 0.9.15

volume
pa_cvolume volume;

< Volume of the source

Meta