Commit Graph

22 Commits

Author SHA1 Message Date
Geoffrey D. Bennett
67ccd1d684 Handle interfaces with fixed mixer inputs 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
22a2aa2ad6 Add routing group tooltips 2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
793523b0a7 Add some red and grey 2024-02-20 23:26:10 +10:30
Geoffrey D. Bennett
36f724c66c Use CSS to set dark colour scheme 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
658f946202 Add support for routing the Gen 4 DSP I/O 2024-02-05 20:03:10 +10:30
Geoffrey D. Bennett
dfa40c79b0 Add margin to socket widget 2024-02-05 20:03:10 +10:30
Geoffrey D. Bennett
93f7a32ea5 Fix Presets button to be centered
The Presets button was filling the available space. It looks better
using GTK_ALIGN_CENTER instead.
2024-02-05 20:03:10 +10:30
Geoffrey D. Bennett
656eb06159 Inline routing_grid_label() in create_routing_group_grid()
As create_routing_grid() and routing_grid_label() are called 1:1 now,
the code from routing_grid_label() can be moved inside
create_routing_group_id() if we add descr and align parameters.
2024-02-05 20:03:10 +10:30
Geoffrey D. Bennett
e66a3ac883 Add orientation parameter to routing_grid_label()
By adding an orientation parameter, then routing_grid_label() can be
used for the Mixer I/O group labels as well.
2024-02-05 20:03:10 +10:30
Geoffrey D. Bennett
aba34f0648 Remove repeated group by code in create_routing_grid()
Create create_routing_group_grid() to remove repeated code from
create_routing_grid().
2024-02-05 20:03:10 +10:30
Geoffrey D. Bennett
5b9ff7d457 Remove lots of casts in create_routing_grid()
By storing routing_grid in a GtkGrid *, lots of GTK_GRID() casts can
be removed.
2024-02-05 20:03:10 +10:30
Geoffrey D. Bennett
80cd0ebc4d Remove gtk_widget_add_class()
Should use gtk_widget_add_css_class() instead.
2024-02-05 20:03:10 +10:30
Geoffrey D. Bennett
8376ce70b4 Fix typo rounting -> routing 2023-11-30 00:42:52 +10:30
Geoffrey D. Bennett
d31bd3380e Allow the routing window to be resized and give it scrollbars 2023-11-26 22:57:52 +10:30
Geoffrey D. Bennett
19ccbbb304 Fix the socket widget so that it will not shrink 2023-11-26 22:56:59 +10:30
Geoffrey D. Bennett
fb3429ba6c Global replace "destination" with "sink"
Fixes #73.
2023-11-17 15:40:53 +10:30
Szabolcs Szőke
b9f0b64d18 Make routing sources and destinations the same width
Fixes #4.
2022-03-27 15:38:56 +02:00
Geoffrey D. Bennett
fc8714ec1e Fix size of mixer output sockets on Gen 3 18i20 routing
Set the alignment on the socket picture to be center rather than fill
so if there's extra space available the image doesn't get expanded and
look awful.

Fixes #1.
2022-03-14 09:24:52 +10:30
Geoffrey D. Bennett
17b4d2f055 Initial revision 2022-03-14 09:24:43 +10:30