mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
dbus-protocol: Connection handling for local connections.
This commit is contained in:
parent
5babbaafb2
commit
c8d819a5ad
11 changed files with 644 additions and 69 deletions
|
|
@ -42,6 +42,13 @@ typedef struct pa_core pa_core;
|
|||
#include <pulsecore/sink-input.h>
|
||||
#include <pulsecore/msgobject.h>
|
||||
|
||||
typedef enum pa_server_type {
|
||||
PA_SERVER_TYPE_UNSET,
|
||||
PA_SERVER_TYPE_USER,
|
||||
PA_SERVER_TYPE_SYSTEM,
|
||||
PA_SERVER_TYPE_NONE
|
||||
} pa_server_type_t;
|
||||
|
||||
typedef enum pa_core_state {
|
||||
PA_CORE_STARTUP,
|
||||
PA_CORE_RUNNING,
|
||||
|
|
@ -152,6 +159,8 @@ struct pa_core {
|
|||
pa_resample_method_t resample_method;
|
||||
int realtime_priority;
|
||||
|
||||
pa_server_type_t server_type;
|
||||
|
||||
/* hooks */
|
||||
pa_hook hooks[PA_CORE_HOOK_MAX];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue