Commit Graph

280 Commits

Author SHA1 Message Date
Geoffrey D. Bennett
adeea461fd Change alsa_get_elem_int_values() to return longs rather than ints 2025-03-16 20:08:47 +10:30
Geoffrey D. Bennett
1f7bafbfc3 Update window-hardware with big 4th Gen and Vocaster models 2025-03-16 20:08:47 +10:30
Geoffrey D. Bennett
b8420ba31c Add support for rebooting devices using the FCP socket interface 2025-03-16 20:08:47 +10:30
Geoffrey D. Bennett
a5676eeb5a Replace hwdep check in window-startup.c with driver_type check
Since alsa.c already checks the hwdep version to determine the driver
type, window-startup.c doesn't need to do the same.
2025-03-16 20:08:47 +10:30
Geoffrey D. Bennett
9a33b92392 Don't attempt to attach unused routing_mixer_in_grid 2025-03-16 20:08:47 +10:30
Geoffrey D. Bennett
97f993db7b Add support for waiting for FCP driver initialisation
When a card using the FCP driver is added at runtime, we need to wait
for fcp-server to finish creating all the controls before we attempt
to enumerate them.
2025-03-16 20:08:47 +10:30
Geoffrey D. Bennett
6f0ab1890d Add driver type detection 2025-03-16 20:08:47 +10:30
Geoffrey D. Bennett
c88f7796f4 Move card init from alsa_scan_cards() to new card_init() function 2025-03-16 20:08:47 +10:30
Geoffrey D. Bennett
0b5b47ae66 Disable the startup menu option for 1st Gen devices 2025-03-16 20:08:47 +10:30
Geoffrey D. Bennett
b6117a501f Replace 1st Gen Startup Controls info with Startup Configuration
The Startup Controls information wasn't very useful, and the Startup
Configuration information is actually important.
2025-03-16 20:08:47 +10:30
Geoffrey D. Bennett
a34df84dfa Improve "settings keep resetting" FAQ entry 2025-03-16 20:08:47 +10:30
Pro-pra
6677e5c87d Use template spec with macros 2025-03-07 23:59:50 +10:30
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