mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
alsa: clean up port and node params
This commit is contained in:
parent
3c503ca240
commit
39a2636c9b
5 changed files with 66 additions and 46 deletions
|
|
@ -71,7 +71,13 @@ struct seq_port {
|
|||
|
||||
uint64_t info_all;
|
||||
struct spa_port_info info;
|
||||
struct spa_param_info params[8];
|
||||
#define IDX_EnumFormat 0
|
||||
#define IDX_Meta 1
|
||||
#define IDX_IO 2
|
||||
#define IDX_Format 3
|
||||
#define IDX_Buffers 4
|
||||
#define N_PORT_PARAMS 5
|
||||
struct spa_param_info params[N_PORT_PARAMS];
|
||||
|
||||
struct spa_io_buffers *io;
|
||||
|
||||
|
|
@ -128,7 +134,11 @@ struct seq_state {
|
|||
|
||||
uint64_t info_all;
|
||||
struct spa_node_info info;
|
||||
struct spa_param_info params[8];
|
||||
#define IDX_PropInfo 0
|
||||
#define IDX_Props 1
|
||||
#define IDX_NODE_IO 2
|
||||
#define N_NODE_PARAMS 3
|
||||
struct spa_param_info params[N_NODE_PARAMS];
|
||||
struct props props;
|
||||
|
||||
struct spa_io_clock *clock;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue