mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-22 06:59:59 -05:00
remove READY state on context
Now that we don't need to register anymore to the daemon we can just remove this state.
This commit is contained in:
parent
5f10a933a1
commit
89f8f41045
7 changed files with 16 additions and 22 deletions
|
|
@ -60,11 +60,10 @@ typedef enum {
|
|||
|
||||
/**
|
||||
* PinosContextState:
|
||||
* @PINOS_CONTEXT_STATE_ERROR: context is in error
|
||||
* @PINOS_CONTEXT_STATE_UNCONNECTED: not connected
|
||||
* @PINOS_CONTEXT_STATE_CONNECTING: connecting to daemon
|
||||
* @PINOS_CONTEXT_STATE_REGISTERING: registering with daemon
|
||||
* @PINOS_CONTEXT_STATE_READY: context is ready
|
||||
* @PINOS_CONTEXT_STATE_ERROR: context is in error
|
||||
* @PINOS_CONTEXT_STATE_CONNECTED: context is connected and ready
|
||||
*
|
||||
* The state of a #PinosContext
|
||||
*/
|
||||
|
|
@ -72,8 +71,7 @@ typedef enum {
|
|||
PINOS_CONTEXT_STATE_ERROR = -1,
|
||||
PINOS_CONTEXT_STATE_UNCONNECTED = 0,
|
||||
PINOS_CONTEXT_STATE_CONNECTING = 1,
|
||||
PINOS_CONTEXT_STATE_REGISTERING = 2,
|
||||
PINOS_CONTEXT_STATE_READY = 3,
|
||||
PINOS_CONTEXT_STATE_CONNECTED = 2,
|
||||
} PinosContextState;
|
||||
|
||||
const gchar * pinos_context_state_as_string (PinosContextState state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue