1 #ifndef foopulseextstreamrestorehfoo
2 #define foopulseextstreamrestorehfoo
23 #include <pulse/cdecl.h>
25 #include <pulse/version.h>
77 int apply_immediately,
84 const char *
const s[],
Constants and routines for channel mapping handling.
Connection contexts for asynchronous communication with a server.
void(* pa_context_success_cb_t)(pa_context *c, int success, void *userdata)
A generic callback for operation completion.
Definition: context.h:160
struct pa_context pa_context
An opaque connection context to a daemon.
Definition: context.h:154
pa_operation * pa_ext_stream_restore_read(pa_context *c, pa_ext_stream_restore_read_cb_t cb, void *userdata)
Read all entries from the stream database.
void pa_ext_stream_restore_set_subscribe_cb(pa_context *c, pa_ext_stream_restore_subscribe_cb_t cb, void *userdata)
Set the subscription callback that is called when pa_ext_stream_restore_subscribe() was called.
pa_operation * pa_ext_stream_restore_delete(pa_context *c, const char *const s[], pa_context_success_cb_t cb, void *userdata)
Delete entries from the stream database.
void(* pa_ext_stream_restore_subscribe_cb_t)(pa_context *c, void *userdata)
Callback prototype for pa_ext_stream_restore_set_subscribe_cb().
Definition: ext-stream-restore.h:96
pa_operation * pa_ext_stream_restore_test(pa_context *c, pa_ext_stream_restore_test_cb_t cb, void *userdata)
Test if this extension module is available in the server.
pa_operation * pa_ext_stream_restore_write(pa_context *c, pa_update_mode_t mode, const pa_ext_stream_restore_info data[], unsigned n, int apply_immediately, pa_context_success_cb_t cb, void *userdata)
Store entries in the stream database.
void(* pa_ext_stream_restore_test_cb_t)(pa_context *c, uint32_t version, void *userdata)
Callback prototype for pa_ext_stream_restore_test().
Definition: ext-stream-restore.h:47
pa_operation * pa_ext_stream_restore_subscribe(pa_context *c, int enable, pa_context_success_cb_t cb, void *userdata)
Subscribe to changes in the stream database.
void(* pa_ext_stream_restore_read_cb_t)(pa_context *c, const pa_ext_stream_restore_info *info, int eol, void *userdata)
Callback prototype for pa_ext_stream_restore_read().
Definition: ext-stream-restore.h:59
struct pa_ext_stream_restore_info pa_ext_stream_restore_info
Stores information about one entry in the stream database that is maintained by module-stream-restore...
struct pa_operation pa_operation
An asynchronous operation object.
Definition: operation.h:33
enum pa_update_mode pa_update_mode_t
Update mode enum for pa_proplist_update().
A channel map which can be used to attach labels to specific channels of a stream.
Definition: channelmap.h:264
A structure encapsulating a per-channel volume.
Definition: volume.h:145
Stores information about one entry in the stream database that is maintained by module-stream-restore...
Definition: ext-stream-restore.h:38
int mute
The boolean mute state of the stream when it was last seen, if applicable and saved.
Definition: ext-stream-restore.h:43
pa_channel_map channel_map
The channel map for the volume field, if applicable.
Definition: ext-stream-restore.h:40
const char * device
The sink/source of the stream when it was last seen, if applicable and saved.
Definition: ext-stream-restore.h:42
pa_cvolume volume
The volume of the stream when it was seen last, if applicable and saved.
Definition: ext-stream-restore.h:41
const char * name
Identifier string of the stream.
Definition: ext-stream-restore.h:39
Constants and routines for volume handling.