mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-24 23:40:03 +01:00
endpoint: improve GVariant format docs
This commit is contained in:
parent
d2ccd2996b
commit
901593e217
1 changed files with 3 additions and 3 deletions
|
|
@ -81,6 +81,7 @@
|
|||
* "name": the name of the control
|
||||
* "type": a GVariant type string
|
||||
* "range": a tuple (min, max)
|
||||
* "default-value": the default value
|
||||
*/
|
||||
|
||||
#include "endpoint.h"
|
||||
|
|
@ -386,9 +387,8 @@ wp_endpoint_list_controls (WpEndpoint * self)
|
|||
* @self: the endpoint
|
||||
* @control_id: the id of the control to set
|
||||
*
|
||||
* Returns a dictionary GVariant containing two fields:
|
||||
* * "id": a uint32 representing the control id
|
||||
* * "value": a variant containing the value of the control
|
||||
* Returns a GVariant that holds the value of the control. The type
|
||||
* should be the same type specified in the control variant's "type" field.
|
||||
*
|
||||
* On error, NULL will be returned.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue