mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
dbusiface-core: Two new functions: pa_dbusiface_core_get_sink/source().
This commit is contained in:
parent
a10e8360d7
commit
efec274b6d
2 changed files with 34 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue