summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-context.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-15 19:16:57 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-15 19:16:57 +0000
commitf5d47a293aa32a8273ef02c597cb263527726465 (patch)
tree82e34cdafba576e1e28a643df3e814de611ccaf4 /polyp/polyplib-context.h
parent9ca72dce0bda4e279ff82a01847ee09a72434b33 (diff)
work around C99/GCC incompatibility
native protocol: add "local" field to pa_context add volume paramter to pa_stream_connect_playback add support for renaming streams/clients support lazy samples add functions to kill clients/source inputs/sink outputs add functions for loading/unloading modules add autoload management API git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@204 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-context.h')
-rw-r--r--polyp/polyplib-context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/polyp/polyplib-context.h b/polyp/polyplib-context.h
index 84e47b64..548a39dd 100644
--- a/polyp/polyplib-context.h
+++ b/polyp/polyplib-context.h
@@ -99,6 +99,12 @@ struct pa_operation* pa_context_set_default_sink(struct pa_context *c, const cha
/** Set the name of the default source. \since 0.4 */
struct pa_operation* pa_context_set_default_source(struct pa_context *c, const char *name, void(*cb)(struct pa_context*c, int success, void *userdata), void *userdata);
+/** Returns 1 when the connection is to a local daemon. Returns negative when no connection has been made yet. \since 0.5 */
+int pa_context_is_local(struct pa_context *c);
+
+/** Set a different application name for context on the server. \since 0.5 */
+struct pa_operation* pa_context_set_name(struct pa_context *c, const char *name, void(*cb)(struct pa_context*c, int success, void *userdata), void *userdata);
+
PA_C_DECL_END
#endif