mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
docs: add more docs
also some small improvements
This commit is contained in:
parent
4378f34664
commit
64171606cc
7 changed files with 156 additions and 65 deletions
|
|
@ -274,10 +274,12 @@ pv_client_init (PvClient * client)
|
|||
|
||||
/**
|
||||
* pv_client_new:
|
||||
* @daemon: a #PvDaemon
|
||||
* @prefix: a prefix
|
||||
*
|
||||
* Make a new unconnected #PvClient
|
||||
* Make a new #PvClient object and register it to @daemon under the @prefix.
|
||||
*
|
||||
* Returns: a new unconnected #PvClient
|
||||
* Returns: a new #PvClient
|
||||
*/
|
||||
PvClient *
|
||||
pv_client_new (PvDaemon * daemon, const gchar *prefix)
|
||||
|
|
@ -288,6 +290,14 @@ pv_client_new (PvDaemon * daemon, const gchar *prefix)
|
|||
return g_object_new (PV_TYPE_CLIENT, "daemon", daemon, "object-path", prefix, NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
* pv_client_get_object_path:
|
||||
* @client: a #PvClient
|
||||
*
|
||||
* Get the object path of @client.
|
||||
*
|
||||
* Returns: the object path of @client
|
||||
*/
|
||||
const gchar *
|
||||
pv_client_get_object_path (PvClient *client)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue