Commit Graph

14 Commits

Author SHA1 Message Date
Geoffrey D. Bennett
e7a117aa51 Don't show empty rows in levels window
If a port category has no ports, skip that row. 4th Gen has a DSP port
category that does not exist in previous generations.
2024-03-24 22:34:31 +10:30
Geoffrey D. Bennett
3048b43b9a Add colour to GtkDial level meters 2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
24a79963ba Use GtkDial off_db (deadband) for level meters
Set HW Output level meters deadband to -55dB, others to -45dB to match
the 4th Gen hardware level meters.
2024-02-20 23:26:10 +10:30
Geoffrey D. Bennett
1c2d966763 Add GtkDial:can_control property
If the dial can't be controlled, it shouldn't be dimmed when it's not
sensitive.
2024-02-20 23:26:10 +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
492c348897 Add configurable taper to GtkDial
The taper was previously set to a log function which matched the
Clarett volume knob. Add linear option to match the Scarlett 4th Gen
input gain knobs and hardware level meters.
2024-02-08 19:04:53 +10:30
Geoffrey D. Bennett
d91c9d5687 Add page argument to gtk_dial_new_with_range()
Make gain widget page_incr 3dB.
2024-02-08 18:08:34 +10:30
Geoffrey D. Bennett
1164845b3c Allow for continuous dials
Update gtk_dial_new_with_range() to set round_digits to -1 if step is
zero.

Update create_levels_controls() to set step to zero.
2024-02-08 18:08:34 +10:30
Geoffrey D. Bennett
b2823e79be Bump copyright year 2024-02-08 18:08:34 +10:30
Geoffrey D. Bennett
6923a3ddb0 Don't round level meter values passed to GtkDial 2024-02-05 20:04:58 +10:30
Geoffrey D. Bennett
92932dbb26 Remove user-control of level meters
jandejongh reported:

In the USB Levels display, user can (attempt to) set the level of the
"slider".
Expected: These "sliders" are read-only and should not allow setting a
value (makes no sense to me?).

Fixes: #78.
2023-11-19 16:00:58 +10:30
Geoffrey D. Bennett
d96ced2b45 Add meter/level display 2023-11-14 01:54:42 +10:30
Geoffrey D. Bennett
17b4d2f055 Initial revision 2022-03-14 09:24:43 +10:30