mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
pulse: share private enum values with client side
This commit is contained in:
parent
a3762a2f98
commit
310f433848
3 changed files with 18 additions and 20 deletions
|
|
@ -624,9 +624,17 @@ typedef enum pa_sink_state { /* enum serialized in u8 */
|
|||
PA_SINK_IDLE = 1,
|
||||
/**< When idle, the sink is playing but there is no non-corked sink-input attached to it \since 0.9.15 */
|
||||
|
||||
PA_SINK_SUSPENDED = 2
|
||||
PA_SINK_SUSPENDED = 2,
|
||||
/**< When suspended, actual sink access can be closed, for instance \since 0.9.15 */
|
||||
|
||||
/* *** PRIVATE: server-side values *** */
|
||||
|
||||
PA_SINK_INIT = -2,
|
||||
/* Initialization state */
|
||||
|
||||
PA_SINK_UNLINKED = -3
|
||||
/* The state when the sink is getting unregistered and removed from client access */
|
||||
|
||||
} pa_sink_state_t;
|
||||
|
||||
/** Returns non-zero if sink is playing: running or idle. \since 0.9.15 */
|
||||
|
|
@ -685,9 +693,17 @@ typedef enum pa_source_state {
|
|||
PA_SOURCE_IDLE = 1,
|
||||
/**< When idle, the source is still recording but there is no non-corked source-output \since 0.9.15 */
|
||||
|
||||
PA_SOURCE_SUSPENDED = 2
|
||||
PA_SOURCE_SUSPENDED = 2,
|
||||
/**< When suspended, actual source access can be closed, for instance \since 0.9.15 */
|
||||
|
||||
/* *** PRIVATE: server-side values *** */
|
||||
|
||||
PA_SOURCE_INIT = -2,
|
||||
/* Initialization state */
|
||||
|
||||
PA_SOURCE_UNLINKED = -3
|
||||
/* The state when the source is getting unregistered and removed from client access */
|
||||
|
||||
} pa_source_state_t;
|
||||
|
||||
/** Returns non-zero if source is recording: running or idle. \since 0.9.15 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue