mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
alsa: rename indexes into port and node params
This commit is contained in:
parent
8cf5927e95
commit
4c09eb227f
3 changed files with 43 additions and 49 deletions
|
|
@ -104,9 +104,9 @@ struct state {
|
|||
|
||||
uint64_t info_all;
|
||||
struct spa_node_info info;
|
||||
#define IDX_PropInfo 0
|
||||
#define IDX_Props 1
|
||||
#define IDX_NODE_IO 2
|
||||
#define NODE_PropInfo 0
|
||||
#define NODE_Props 1
|
||||
#define NODE_IO 2
|
||||
#define N_NODE_PARAMS 3
|
||||
struct spa_param_info params[N_NODE_PARAMS];
|
||||
struct props props;
|
||||
|
|
@ -141,12 +141,12 @@ struct state {
|
|||
|
||||
uint64_t port_info_all;
|
||||
struct spa_port_info port_info;
|
||||
#define IDX_EnumFormat 0
|
||||
#define IDX_Meta 1
|
||||
#define IDX_IO 2
|
||||
#define IDX_Format 3
|
||||
#define IDX_Buffers 4
|
||||
#define IDX_Latency 5
|
||||
#define PORT_EnumFormat 0
|
||||
#define PORT_Meta 1
|
||||
#define PORT_IO 2
|
||||
#define PORT_Format 3
|
||||
#define PORT_Buffers 4
|
||||
#define PORT_Latency 5
|
||||
#define N_PORT_PARAMS 6
|
||||
struct spa_param_info port_params[N_PORT_PARAMS];
|
||||
enum spa_direction port_direction;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue