Commit Graph

268 Commits

Author SHA1 Message Date
Geoffrey D. Bennett
91fc3bbb03 Add information about alsa-state and alsa-restore to FAQ.md 2025-02-26 03:27:21 +10:30
Geoffrey D. Bennett
460b03c668 Replace '/" with ’/“/” in *.md 2025-02-26 03:27:21 +10:30
Geoffrey D. Bennett
8a2e5f5835 Add RTFM advice to FAQ.md 2025-02-26 03:27:21 +10:30
Geoffrey D. Bennett
72fd974da1 Update startup window no-startup-controls message
Replace the message suggesting a kernel upgrade because the 1st Gen
driver has no startup controls.
0.5.0
2025-02-26 02:23:24 +10:30
Geoffrey D. Bennett
e6166de04b Update 1st Gen doc to mention Level Meters and Startup Controls 2025-02-26 02:23:24 +10:30
Geoffrey D. Bennett
f0213eadb1 Replace -j4 with -j$(nproc) 2025-02-26 02:23:24 +10:30
Geoffrey D. Bennett
ae23674f21 Add small deadband to dial drag to stop double-click adjustments
Sometimes 0.5 < abs(offset_y) < 1 when double-clicking without moving
the mouse, causing the intended toggling between -inf and 0dB to not
work.

Fixes: #149.
2025-02-26 02:22:59 +10:30
Geoffrey D. Bennett
68e45e58a6 Remove unused start_x, start_y from gtk_dial_drag_gesture_update() 2025-02-26 02:07:55 +10:30
Geoffrey D. Bennett
f1585a3b8c Update flatpak container image from gnome-45 to gnome-47 0.5.0-test1 2025-02-21 05:00:28 +10:30
Geoffrey D. Bennett
d1c1eb5db2 Undefine _FORTIFY_SOURCE before defining so GitHub can build the deb
The GitHub build was failing with:
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
2025-02-21 04:57:17 +10:30
Geoffrey D. Bennett
21cdfbbe1a Make make clean do depclean too 2025-02-21 04:34:43 +10:30
Geoffrey D. Bennett
7033f9f622 Add big 4th Gen demo files 2025-02-21 04:34:43 +10:30
Geoffrey D. Bennett
5106ed228e Update docs and such for 1st Gen and big 4th Gen support 2025-02-21 04:34:43 +10:30
Geoffrey D. Bennett
ab40037064 Bump copyright year to 2025 2025-02-21 04:08:35 +10:30
Geoffrey D. Bennett
ed4f9cbaa7 Call card_destroy_callback() when an ALSA element is removed 2025-02-21 04:08:35 +10:30
Geoffrey D. Bennett
c7357c0539 Move card_destroy_callback() before alsa_card_callback() 2025-02-21 04:08:35 +10:30
Geoffrey D. Bennett
01c947f434 Fix output control column/mute tooltip handling 2025-02-21 04:08:35 +10:30
Geoffrey D. Bennett
dc21eb52d0 Add support for Level Meter labels 2025-02-21 04:08:35 +10:30
Geoffrey D. Bennett
c4ab20f9b5 Update alsa.c to handle differing FCP mixer element names 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
b41a47587b Add support for TLVs from the FCP driver
Decode level meter labels and the FCP socket location from TLVs.
2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
11dba2b42c Simplify update_levels_controls() 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
f1f085abcf Add support for new 4th Gen control names
The 4th Gen driver has renamed "Line" to "Analogue" and removed
"Input" and "Output" in cases like "Mixer Input", "DSP Input", and
"Analogue Output". Some numbers are no longer zero-padded.
2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
18841b2a45 Add support for two-control speaker switching and talkback
The 4th Gen driver has two boolean controls each for the speaker
switching and talkback controls, rather than the single enum control
that the 3rd Gen driver presents.
2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
64d9f8173a Make perror("fopen") messages distinct 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
78e2d9642f Update alsa interface and gain widget to support linear volume
# Conflicts:
#	src/alsa.c
2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
4a40b00695 Update gtkdial to support linear-volume controls 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
0f7389dca8 Highlight mixer labels on dial hover 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
640d027502 Update routing hover to highlight corresponding source sink 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
2bc6c86a8d Handle per-channel link buttons
Older kernel versions had one link button per channel pair.
2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
67ccd1d684 Handle interfaces with fixed mixer inputs 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
81bc3c77c8 Treat locked ALSA elements as read-only 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
e0083f7085 Update constants for new maximum number of mux inputs and meters
Big 4th Gen devices have more inputs and meters than previous devices.
2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
5da140df1e Wrap long line, fix reopen callback comment in alsa.c 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
1b0e072237 Gen 1: Add support for 1st Gen output controls 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
8178bd298b Gen 1: Add support for 1st Gen input controls 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
845dd5c98b Gen 1: Add support for 1st Gen mixer controls 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
45287711a4 Gen 1: Add support for 1st Gen stereo elements
Move routing src/snk creation into alsa.c from window-routing.c.
Move port_category and port_num from struct routing_snk to struct
alsa_elem.
Handle ALSA elements with two values.
Handle controls labelled as 1L and 1R instead of 1 and 2.
2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
b1831c137a Gen 1: Add support for elements with count > 1 in saved config 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
1cdac65c00 Gen 1: Move alsa-sim elem creation into alsa_config_to_new_elem() 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
c38bbba793 Gen 1: Parse and save config count field
Needed for 1st Gen stereo volume controls.
2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
da1f011ab4 Gen 1: Ignore control "index" value in saved configurations 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
64f0cc36cc Gen 1: Add PC_OFF port category 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
9034790c06 Gen 1: Trigger support based on "Matrix" element presence 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
91d7218a47 Gen 1: Add 1st Gen devices to window-hardware.c 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
97ced90466 Gen 1: Mute switches are backwards 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
fa3e73d52f Gen 1: Handle different names for clock source and sync status 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
602854d087 Add Scarlett 1st Gen demo state files 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
97ca9ae754 Add get_elem_by_substr() to alsa.[ch] 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
6a04e1d1fa Update logo 2025-02-21 04:08:34 +10:30
Geoffrey D. Bennett
da4be2993e Update flatpak to GNOME 47 2025-02-21 04:08:25 +10:30