mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
parent
74b4790afe
commit
8bbfe876a7
4 changed files with 135 additions and 187 deletions
|
|
@ -37,7 +37,6 @@
|
|||
#include <pipewire/utils.h>
|
||||
#include <pipewire/interfaces.h>
|
||||
#include <pipewire/log.h>
|
||||
#include <extensions/session-manager.h>
|
||||
|
||||
/* Some PulseAudio API added const qualifiers in 13.0 */
|
||||
#if PA_MAJOR >= 13
|
||||
|
|
@ -232,7 +231,7 @@ struct global {
|
|||
pa_subscription_mask_t mask;
|
||||
pa_subscription_event_type_t event;
|
||||
|
||||
int priority_session;
|
||||
int priority_master;
|
||||
int pending_seq;
|
||||
int init:1;
|
||||
int subscribed:1;
|
||||
|
|
@ -250,7 +249,7 @@ struct global {
|
|||
struct global *src;
|
||||
struct global *dst;
|
||||
} link_info;
|
||||
/* for endpoint stream */
|
||||
/* for sink/source */
|
||||
struct {
|
||||
uint32_t client_id;
|
||||
uint32_t monitor;
|
||||
|
|
@ -258,9 +257,11 @@ struct global {
|
|||
bool mute;
|
||||
uint32_t n_channel_volumes;
|
||||
float channel_volumes[SPA_AUDIO_MAX_CHANNELS];
|
||||
uint32_t endpoint_id;
|
||||
} stream_info;
|
||||
/* for endpoints */
|
||||
} node_info;
|
||||
struct {
|
||||
uint32_t node_id;
|
||||
} port_info;
|
||||
/* for devices */
|
||||
struct {
|
||||
struct spa_list profiles;
|
||||
uint32_t n_profiles;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue