diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-27 22:08:07 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-11-11 17:44:22 +0000 |
commit | 0f6ace75c96ed3b2ebb410069751862c07bd9e1f (patch) | |
tree | 6bf45f1cc658549e19cbce7182aab9a6c759ce2b /src/pulse/context.c | |
parent | 4c68fe7b9f176016e6f574d215f1db8546eaeb38 (diff) |
device-manager: Add an untested protocol extension.
This is effectively copied from the stream restore extension.
Diffstat (limited to 'src/pulse/context.c')
-rw-r--r-- | src/pulse/context.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pulse/context.c b/src/pulse/context.c index 23ae30ce..7468d0a9 100644 --- a/src/pulse/context.c +++ b/src/pulse/context.c @@ -128,6 +128,9 @@ static void reset_callbacks(pa_context *c) { c->event_callback = NULL; c->event_userdata = NULL; + c->ext_device_manager.callback = NULL; + c->ext_device_manager.userdata = NULL; + c->ext_stream_restore.callback = NULL; c->ext_stream_restore.userdata = NULL; } @@ -1434,6 +1437,8 @@ void pa_command_extension(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_t if (!strcmp(name, "module-stream-restore")) pa_ext_stream_restore_command(c, tag, t); + else if (!strcmp(name, "module-device-manager")) + pa_ext_device_manager_command(c, tag, t); else pa_log(_("Received message for unknown extension '%s'"), name); |