mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
make bitfields unsigned
Remove driver property from client-node of client-stream.
This commit is contained in:
parent
787900e8bf
commit
092a0c660d
19 changed files with 64 additions and 59 deletions
|
|
@ -59,7 +59,7 @@ struct link {
|
|||
uint32_t min_buffers;
|
||||
uint32_t n_buffers;
|
||||
struct spa_buffer **buffers;
|
||||
int negotiated:1;
|
||||
unsigned int negotiated:1;
|
||||
};
|
||||
|
||||
struct impl {
|
||||
|
|
@ -90,7 +90,7 @@ struct impl {
|
|||
struct spa_node *resample;
|
||||
|
||||
struct spa_hook listener[4];
|
||||
int listening:1;
|
||||
unsigned int listening:1;
|
||||
};
|
||||
|
||||
static int make_link(struct impl *this,
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ struct channelmix {
|
|||
|
||||
struct spa_log *log;
|
||||
|
||||
int is_identity:1;
|
||||
unsigned int is_identity:1;
|
||||
float volume;
|
||||
float matrix[MAX_CHANNELS * MAX_CHANNELS];
|
||||
|
||||
|
|
|
|||
|
|
@ -117,8 +117,8 @@ struct impl {
|
|||
struct port out_port;
|
||||
|
||||
struct channelmix mix;
|
||||
int started:1;
|
||||
int is_passthrough:1;
|
||||
unsigned int started:1;
|
||||
unsigned int is_passthrough:1;
|
||||
uint32_t cpu_flags;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ struct convert {
|
|||
uint32_t n_channels;
|
||||
uint32_t cpu_flags;
|
||||
|
||||
int is_passthrough:1;
|
||||
unsigned int is_passthrough:1;
|
||||
float ns_data[MAX_NS];
|
||||
uint32_t ns_idx;
|
||||
uint32_t ns_size;
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ struct impl {
|
|||
|
||||
uint32_t cpu_flags;
|
||||
struct convert conv;
|
||||
int is_passthrough:1;
|
||||
unsigned int is_passthrough:1;
|
||||
};
|
||||
|
||||
#define CHECK_PORT(this,d,id) (id == 0)
|
||||
|
|
|
|||
|
|
@ -104,10 +104,10 @@ struct impl {
|
|||
|
||||
struct convert conv;
|
||||
uint32_t cpu_flags;
|
||||
int is_passthrough:1;
|
||||
int started:1;
|
||||
int monitor:1;
|
||||
int have_profile:1;
|
||||
unsigned int is_passthrough:1;
|
||||
unsigned int started:1;
|
||||
unsigned int monitor:1;
|
||||
unsigned int have_profile:1;
|
||||
|
||||
float empty[MAX_SAMPLES + 15];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ struct port {
|
|||
uint32_t stride;
|
||||
uint32_t blocks;
|
||||
uint32_t size;
|
||||
int have_format:1;
|
||||
unsigned int have_format:1;
|
||||
|
||||
struct buffer buffers[MAX_BUFFERS];
|
||||
uint32_t n_buffers;
|
||||
|
|
@ -110,8 +110,8 @@ struct impl {
|
|||
struct port in_port;
|
||||
struct port out_port;
|
||||
|
||||
int started:1;
|
||||
int monitor:1;
|
||||
unsigned int started:1;
|
||||
unsigned int monitor:1;
|
||||
|
||||
struct resample resample;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -106,8 +106,8 @@ struct impl {
|
|||
|
||||
uint32_t cpu_flags;
|
||||
struct convert conv;
|
||||
int is_passthrough:1;
|
||||
int started:1;
|
||||
unsigned int is_passthrough:1;
|
||||
unsigned int started:1;
|
||||
|
||||
bool have_profile;
|
||||
|
||||
|
|
|
|||
|
|
@ -80,8 +80,8 @@ struct port {
|
|||
struct spa_port_info info;
|
||||
struct spa_param_info params[5];
|
||||
|
||||
int valid:1;
|
||||
int have_format:1;
|
||||
unsigned int valid:1;
|
||||
unsigned int have_format:1;
|
||||
|
||||
struct buffer buffers[MAX_BUFFERS];
|
||||
uint32_t n_buffers;
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ struct port {
|
|||
struct spa_param_info params[8];
|
||||
|
||||
struct spa_video_info current_format;
|
||||
int have_format:1;
|
||||
unsigned int have_format:1;
|
||||
|
||||
struct buffer buffers[MAX_BUFFERS];
|
||||
uint32_t n_buffers;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ struct port {
|
|||
struct spa_param_info params[8];
|
||||
|
||||
struct spa_video_info current_format;
|
||||
int have_format:1;
|
||||
unsigned int have_format:1;
|
||||
|
||||
struct buffer buffers[MAX_BUFFERS];
|
||||
uint32_t n_buffers;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue