Retrieve and store the device serial number

This commit is contained in:
Geoffrey D. Bennett
2024-02-11 20:14:23 +10:30
parent c90fbdc3d1
commit 05006284c6
2 changed files with 143 additions and 0 deletions

View File

@@ -152,6 +152,7 @@ struct alsa_elem {
struct alsa_card {
int num;
char *device;
char *serial;
char *name;
snd_ctl_t *handle;
struct pollfd pfd;