diff options
author | Colin Guthrie <colin@mageia.org> | 2011-06-07 12:18:17 +0200 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-06-22 23:12:19 +0100 |
commit | 35f99c6e31d90439f2bfbefb8b45cff323b40661 (patch) | |
tree | 3b479a58be367d5fbf015f12c74682fc31a0a28a /src/pulse/internal.h | |
parent | 695d5363803b7051f85bef82b55220aa37b212a5 (diff) |
device-restore: Add a new protocol extension for device-restore.
This simply exposes the formats that a device supports
via a simple protocol extension that will allow clients
to setup what a connected receiver supports format wise.
Diffstat (limited to 'src/pulse/internal.h')
-rw-r--r-- | src/pulse/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pulse/internal.h b/src/pulse/internal.h index 40f6804a..92379094 100644 --- a/src/pulse/internal.h +++ b/src/pulse/internal.h @@ -29,6 +29,7 @@ #include <pulse/operation.h> #include <pulse/subscribe.h> #include <pulse/ext-device-manager.h> +#include <pulse/ext-device-restore.h> #include <pulse/ext-stream-restore.h> #include <pulsecore/socket-client.h> @@ -107,6 +108,10 @@ struct pa_context { void *userdata; } ext_device_manager; struct { + pa_ext_device_restore_subscribe_cb_t callback; + void *userdata; + } ext_device_restore; + struct { pa_ext_stream_restore_subscribe_cb_t callback; void *userdata; } ext_stream_restore; @@ -294,6 +299,7 @@ pa_tagstruct *pa_tagstruct_command(pa_context *c, uint32_t command, uint32_t *ta PA_FAIL_RETURN_ANY(context, error, NULL) void pa_ext_device_manager_command(pa_context *c, uint32_t tag, pa_tagstruct *t); +void pa_ext_device_restore_command(pa_context *c, uint32_t tag, pa_tagstruct *t); void pa_ext_stream_restore_command(pa_context *c, uint32_t tag, pa_tagstruct *t); void pa_format_info_free2(pa_format_info *f, void *userdata); |