diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2009-08-17 16:42:58 +0300 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2009-08-17 16:42:58 +0300 |
commit | efec274b6dcf239f580713f889957c370ac7ffc7 (patch) | |
tree | 7420a8d871f3eed771bf90e8bb85e0d12fa28314 /src/modules/dbus/iface-core.h | |
parent | a10e8360d72626635de1242cfc2c77207f13d56f (diff) |
dbusiface-core: Two new functions: pa_dbusiface_core_get_sink/source().
Diffstat (limited to 'src/modules/dbus/iface-core.h')
-rw-r--r-- | src/modules/dbus/iface-core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/dbus/iface-core.h b/src/modules/dbus/iface-core.h index cf2a3b20..900b6d1c 100644 --- a/src/modules/dbus/iface-core.h +++ b/src/modules/dbus/iface-core.h @@ -43,4 +43,10 @@ const char *pa_dbusiface_core_get_record_stream_path(pa_dbusiface_core *c, const const char *pa_dbusiface_core_get_module_path(pa_dbusiface_core *c, const pa_module *module); const char *pa_dbusiface_core_get_client_path(pa_dbusiface_core *c, const pa_client *client); +/* Returns NULL if there's no sink with the given path. */ +pa_sink *pa_dbusiface_core_get_sink(pa_dbusiface_core *c, const char *object_path); + +/* Returns NULL if there's no source with the given path. */ +pa_source *pa_dbusiface_core_get_source(pa_dbusiface_core *c, const char *object_path); + #endif |