Geoffrey D. Bennett
97ca9ae754
Add get_elem_by_substr() to alsa.[ch]
2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
1615580de6
Add const to get*elem*() char* function arguments
2024-05-10 22:25:43 +09:30
Geoffrey D. Bennett
159b3340eb
Move level meter fields out of struct alsa_card
...
Create a levels struct managed inside window-levels.c.
2024-04-11 21:24:27 +09:30
Geoffrey D. Bennett
111ec1154d
Add support for volatile buttons to widget-boolean.c
...
Will be used by Gen 1 support.
2024-03-31 03:29:10 +10:30
Geoffrey D. Bennett
984133f61d
Store the best_firmware_version in struct alsa_card
2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
b4fc332f0a
Retrieve and store the device USB PID
2024-03-12 01:43:07 +10:30
Geoffrey D. Bennett
9544635e30
Add support for config reset
2024-03-12 01:43:07 +10:30
Geoffrey D. Bennett
e95cbff3d5
Don't export alsa_cards from alsa.c
2024-03-12 01:43:07 +10:30
Geoffrey D. Bennett
05006284c6
Retrieve and store the device serial number
2024-03-12 01:43:07 +10:30
Geoffrey D. Bennett
099e50b91e
Remove bool_text from struct alsa_elem
...
Store the text in the boolean/dual widget private data.
2024-02-20 23:26:10 +10:30
Geoffrey D. Bennett
b2823e79be
Bump copyright year
2024-02-08 18:08:34 +10:30
Geoffrey D. Bennett
47034d7901
Remove widgets from struct alsa_elem and add data to callbacks
...
Rather than having widget/widget2/widget_callback fields in the struct
alsa_elem, have a list of callbacks and allow private data to be
passed to callbacks.
2024-02-05 20:04:58 +10:30
Geoffrey D. Bennett
be458afcc4
Remove hard-coded values from widget-gain.c and widget-volume.c
...
Update alsa-sim.c and alsa.c to read the TLV info, and update the gain
and volume widgets to use that info rather than hard-coding the
min/max values.
2024-02-05 20:03:10 +10:30
Geoffrey D. Bennett
658f946202
Add support for routing the Gen 4 DSP I/O
2024-02-05 20:03:10 +10:30
Geoffrey D. Bennett
9890b4939b
Make the Level Meter check compatible with alsa-sim.c
...
Rather than retrieving the firmware version in alsa_scan_cards(), use
get_elem_by_name() to check if the control is present.
Update alsa-sim.c alsa_config_to_new_elem() to read iface=CARD
controls.
2024-02-05 20:03:10 +10:30
Geoffrey D. Bennett
befce0824f
Check Firmware Version before enabling Levels menu item
...
The level meters don't work correctly on earlier kernel versions, so
they shouldn't be displayed in that case. The "Firmware Version" ALSA
control was added to the kernel at the same time as the level meters
were fixed, so use the presence of that to determine whether or not to
enable the menu item.
2023-11-19 13:12:50 +10:30
Geoffrey D. Bennett
fb3429ba6c
Global replace "destination" with "sink"
...
Fixes #73 .
2023-11-17 15:40:53 +10:30
Geoffrey D. Bennett
c661b4a915
Display input labels across the top of the mixer window
...
Especially for the 18i20, having labels across the top as well as
along the bottom makes it easier to follow the grid.
2022-03-14 09:24:52 +10:30
Geoffrey D. Bennett
17b4d2f055
Initial revision
2022-03-14 09:24:43 +10:30