Add support for TLVs from the FCP driver

Decode level meter labels and the FCP socket location from TLVs.
This commit is contained in:
Geoffrey D. Bennett
2025-02-20 23:58:32 +10:30
parent 11dba2b42c
commit b41a47587b
2 changed files with 82 additions and 22 deletions

View File

@@ -133,6 +133,9 @@ struct alsa_elem {
int min_cdB;
int max_cdB;
// level meter labels
char **meter_labels;
// for routing sinks
int is_routing_snk;
int port_category;
@@ -159,6 +162,7 @@ struct alsa_card {
uint32_t pid;
char *serial;
char *name;
char *fcp_socket;
int best_firmware_version;
snd_ctl_t *handle;
struct pollfd pfd;