Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

def.h File Reference


Detailed Description

Global definitions

Definition in file def.h.

#include <inttypes.h>
#include <sys/time.h>
#include <time.h>
#include <pulse/cdecl.h>
#include <pulse/sample.h>

Go to the source code of this file.

Classes

struct  pa_buffer_attr
struct  pa_spawn_api
struct  pa_timing_info

Defines

#define PA_INVALID_INDEX   ((uint32_t) -1)
#define pa_subscription_match_flags(m, t)   (!!((m) & (1 << ((t) & PA_SUBSCRIPTION_EVENT_FACILITY_MASK))))

Typedefs

typedef enum pa_context_flags pa_context_flags_t
typedef PA_C_DECL_BEGIN enum
pa_context_state 
pa_context_state_t
typedef void(* pa_free_cb_t )(void *p)
typedef enum pa_operation_state pa_operation_state_t
typedef enum pa_seek_mode pa_seek_mode_t
typedef enum pa_sink_flags pa_sink_flags_t
typedef enum pa_source_flags pa_source_flags_t
typedef enum pa_stream_direction pa_stream_direction_t
typedef enum pa_stream_flags pa_stream_flags_t
typedef enum pa_stream_state pa_stream_state_t
typedef enum
pa_subscription_event_type 
pa_subscription_event_type_t
typedef enum pa_subscription_mask pa_subscription_mask_t

Enumerations

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
}
enum  pa_context_flags { PA_CONTEXT_NOAUTOSPAWN = 1 }
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
}
enum  pa_operation_state { PA_OPERATION_RUNNING, PA_OPERATION_DONE, PA_OPERATION_CANCELED }
enum  pa_seek_mode { PA_SEEK_RELATIVE = 0, PA_SEEK_ABSOLUTE = 1, PA_SEEK_RELATIVE_ON_READ = 2, PA_SEEK_RELATIVE_END = 3 }
enum  pa_sink_flags { PA_SINK_HW_VOLUME_CTRL = 1, PA_SINK_LATENCY = 2, PA_SINK_HARDWARE = 4, PA_SINK_NETWORK = 8 }
enum  pa_source_flags { PA_SOURCE_HW_VOLUME_CTRL = 1, PA_SOURCE_LATENCY = 2, PA_SOURCE_HARDWARE = 4, PA_SOURCE_NETWORK = 8 }
enum  pa_stream_direction { PA_STREAM_NODIRECTION, PA_STREAM_PLAYBACK, PA_STREAM_RECORD, PA_STREAM_UPLOAD }
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
}
enum  pa_stream_state {
  PA_STREAM_UNCONNECTED, PA_STREAM_CREATING, PA_STREAM_READY, PA_STREAM_FAILED,
  PA_STREAM_TERMINATED
}
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
}
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
}


Generated by  Doxygen 1.6.0   Back to index