|
Data Structures |
struct | pa_buffer_attr |
| Playback and record buffer metrics. More...
|
struct | pa_timing_info |
| A structure for all kinds of timing information of a stream. More...
|
struct | pa_spawn_api |
| A structure for the spawn api. More...
|
Defines |
#define | PA_INVALID_INDEX ((uint32_t) -1) |
| An invalid index.
|
#define | pa_subscription_match_flags(m, t) (!!((m) & (1 << ((t) & PA_SUBSCRIPTION_EVENT_FACILITY_MASK)))) |
| Return one if an event type t matches an event mask bitfield.
|
Typedefs |
typedef enum pa_context_state | pa_context_state_t |
| The state of a connection context.
|
typedef enum pa_stream_state | pa_stream_state_t |
| The state of a stream.
|
typedef enum pa_operation_state | pa_operation_state_t |
| The state of an operation.
|
typedef enum pa_context_flags | pa_context_flags_t |
| Some special flags for contexts.
|
typedef enum pa_stream_direction | pa_stream_direction_t |
| The direction of a pa_stream object.
|
typedef enum pa_stream_flags | pa_stream_flags_t |
| Some special flags for stream connections.
|
typedef enum pa_subscription_mask | pa_subscription_mask_t |
| Subscription event mask, as used by pa_context_subscribe().
|
typedef enum pa_subscription_event_type | pa_subscription_event_type_t |
| Subscription event types, as used by pa_context_subscribe().
|
typedef enum pa_seek_mode | pa_seek_mode_t |
| Seek type for pa_stream_write().
|
typedef enum pa_sink_flags | pa_sink_flags_t |
| Special sink flags.
|
typedef enum pa_source_flags | pa_source_flags_t |
| Special source flags.
|
typedef void(* | pa_free_cb_t )(void *p) |
| A generic free() like callback prototype.
|
Enumerations |
enum | pa_context_state {
PA_CONTEXT_UNCONNECTED,
PA_CONTEXT_CONNECTING,
PA_CONTEXT_AUTHORIZING,
PA_CONTEXT_SETTING_NAME,
PA_CONTEXT_READY,
PA_CONTEXT_FAILED,
PA_CONTEXT_TERMINATED
} |
| The state of a connection context. More...
|
enum | pa_stream_state {
PA_STREAM_UNCONNECTED,
PA_STREAM_CREATING,
PA_STREAM_READY,
PA_STREAM_FAILED,
PA_STREAM_TERMINATED
} |
| The state of a stream. More...
|
enum | pa_operation_state {
PA_OPERATION_RUNNING,
PA_OPERATION_DONE,
PA_OPERATION_CANCELED
} |
| The state of an operation. More...
|
enum | pa_context_flags { PA_CONTEXT_NOAUTOSPAWN = 1
} |
| Some special flags for contexts. More...
|
enum | pa_stream_direction {
PA_STREAM_NODIRECTION,
PA_STREAM_PLAYBACK,
PA_STREAM_RECORD,
PA_STREAM_UPLOAD
} |
| The direction of a pa_stream object. More...
|
enum | pa_stream_flags {
PA_STREAM_START_CORKED = 1,
PA_STREAM_INTERPOLATE_TIMING = 2,
PA_STREAM_NOT_MONOTONOUS = 4,
PA_STREAM_AUTO_TIMING_UPDATE = 8,
PA_STREAM_NO_REMAP_CHANNELS = 16,
PA_STREAM_NO_REMIX_CHANNELS = 32,
PA_STREAM_FIX_FORMAT = 64,
PA_STREAM_FIX_RATE = 128,
PA_STREAM_FIX_CHANNELS = 256,
PA_STREAM_DONT_MOVE = 512,
PA_STREAM_VARIABLE_RATE = 1024
} |
| Some special flags for stream connections. More...
|
enum | {
PA_OK = 0,
PA_ERR_ACCESS,
PA_ERR_COMMAND,
PA_ERR_INVALID,
PA_ERR_EXIST,
PA_ERR_NOENTITY,
PA_ERR_CONNECTIONREFUSED,
PA_ERR_PROTOCOL,
PA_ERR_TIMEOUT,
PA_ERR_AUTHKEY,
PA_ERR_INTERNAL,
PA_ERR_CONNECTIONTERMINATED,
PA_ERR_KILLED,
PA_ERR_INVALIDSERVER,
PA_ERR_MODINITFAILED,
PA_ERR_BADSTATE,
PA_ERR_NODATA,
PA_ERR_VERSION,
PA_ERR_TOOLARGE,
PA_ERR_NOTSUPPORTED,
PA_ERR_MAX
} |
| Error values as used by pa_context_errno(). More...
|
enum | pa_subscription_mask {
PA_SUBSCRIPTION_MASK_NULL = 0,
PA_SUBSCRIPTION_MASK_SINK = 1,
PA_SUBSCRIPTION_MASK_SOURCE = 2,
PA_SUBSCRIPTION_MASK_SINK_INPUT = 4,
PA_SUBSCRIPTION_MASK_SOURCE_OUTPUT = 8,
PA_SUBSCRIPTION_MASK_MODULE = 16,
PA_SUBSCRIPTION_MASK_CLIENT = 32,
PA_SUBSCRIPTION_MASK_SAMPLE_CACHE = 64,
PA_SUBSCRIPTION_MASK_SERVER = 128,
PA_SUBSCRIPTION_MASK_AUTOLOAD = 256,
PA_SUBSCRIPTION_MASK_ALL = 511
} |
| Subscription event mask, as used by pa_context_subscribe(). More...
|
enum | pa_subscription_event_type {
PA_SUBSCRIPTION_EVENT_SINK = 0,
PA_SUBSCRIPTION_EVENT_SOURCE = 1,
PA_SUBSCRIPTION_EVENT_SINK_INPUT = 2,
PA_SUBSCRIPTION_EVENT_SOURCE_OUTPUT = 3,
PA_SUBSCRIPTION_EVENT_MODULE = 4,
PA_SUBSCRIPTION_EVENT_CLIENT = 5,
PA_SUBSCRIPTION_EVENT_SAMPLE_CACHE = 6,
PA_SUBSCRIPTION_EVENT_SERVER = 7,
PA_SUBSCRIPTION_EVENT_AUTOLOAD = 8,
PA_SUBSCRIPTION_EVENT_FACILITY_MASK = 15,
PA_SUBSCRIPTION_EVENT_NEW = 0,
PA_SUBSCRIPTION_EVENT_CHANGE = 16,
PA_SUBSCRIPTION_EVENT_REMOVE = 32,
PA_SUBSCRIPTION_EVENT_TYPE_MASK = 16+32
} |
| Subscription event types, as used by pa_context_subscribe(). More...
|
enum | pa_seek_mode {
PA_SEEK_RELATIVE = 0,
PA_SEEK_ABSOLUTE = 1,
PA_SEEK_RELATIVE_ON_READ = 2,
PA_SEEK_RELATIVE_END = 3
} |
| Seek type for pa_stream_write(). More...
|
enum | pa_sink_flags {
PA_SINK_HW_VOLUME_CTRL = 1,
PA_SINK_LATENCY = 2,
PA_SINK_HARDWARE = 4,
PA_SINK_NETWORK = 8
} |
| Special sink flags. More...
|
enum | pa_source_flags {
PA_SOURCE_HW_VOLUME_CTRL = 1,
PA_SOURCE_LATENCY = 2,
PA_SOURCE_HARDWARE = 4,
PA_SOURCE_NETWORK = 8
} |
| Special source flags. More...
|