mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
Make source and source-output server side only
Move source and source-output to the server side again. Make the daemon track objects per sender so that we can remove them when the sender disappears.
This commit is contained in:
parent
1b89f2f8ad
commit
d9444ab360
17 changed files with 139 additions and 205 deletions
|
|
@ -27,6 +27,27 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* PvSourceState:
|
||||
* @PV_SOURCE_STATE_ERROR: the source is in error
|
||||
* @PV_SOURCE_STATE_SUSPENDED: the source is suspended, the device might
|
||||
* be closed
|
||||
* @PV_SOURCE_STATE_INIT: the source is initializing, it opens the device
|
||||
* and gets the device capabilities
|
||||
* @PV_SOURCE_STATE_IDLE: the source is running but there is no active
|
||||
* source-output
|
||||
* @PV_SOURCE_STATE_RUNNING: the source is running.
|
||||
*
|
||||
* The different source states
|
||||
*/
|
||||
typedef enum {
|
||||
PV_SOURCE_STATE_ERROR = 0,
|
||||
PV_SOURCE_STATE_SUSPENDED = 1,
|
||||
PV_SOURCE_STATE_INIT = 2,
|
||||
PV_SOURCE_STATE_IDLE = 3,
|
||||
PV_SOURCE_STATE_RUNNING = 4,
|
||||
} PvSourceState;
|
||||
|
||||
/**
|
||||
* PvSourceInfo:
|
||||
* @name: the name of the source
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue