mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
Improve state output in pinos-monitor
Make a method to return the string representation of the states and use that in pinos-monitor to improve output
This commit is contained in:
parent
c75efac3f9
commit
205a471e49
7 changed files with 86 additions and 3 deletions
|
|
@ -125,6 +125,8 @@ typedef enum {
|
|||
PINOS_SOURCE_STATE_RUNNING = 3,
|
||||
} PinosSourceState;
|
||||
|
||||
const gchar * pinos_source_state_as_string (PinosSourceState state);
|
||||
|
||||
/**
|
||||
* PinosSourceInfo:
|
||||
* @id: generic id of the source
|
||||
|
|
@ -190,6 +192,8 @@ typedef enum {
|
|||
PINOS_SOURCE_OUTPUT_STATE_STREAMING = 2,
|
||||
} PinosSourceOutputState;
|
||||
|
||||
const gchar * pinos_source_output_state_as_string (PinosSourceOutputState state);
|
||||
|
||||
/**
|
||||
* PinosSourceOutputInfo:
|
||||
* @id: generic id of the output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue