Commit Graph

247 Commits

Author SHA1 Message Date
Geoffrey D. Bennett
0e227e1e07 Fix Sample Rate button to be insensitive 2024-03-31 03:29:10 +10:30
Geoffrey D. Bennett
1d2ac0fd5c Add Arch package dependency 2024-03-31 03:29:10 +10:30
Geoffrey D. Bennett
05e9d9e0a2 Fix widget-boolean.c to free data on button destruction 2024-03-31 03:17:35 +10:30
Giorgio Reale
fcb5028aa2 Add 4rd Gen models to window-hardware.c 2024-03-28 13:15:21 +10:30
Geoffrey D. Bennett
c57e4eb2a4 Move 4th Gen Solo 48V switch above the Air switch
Fixes #107.
2024-03-28 13:15:21 +10:30
Geoffrey D. Bennett
feba2f4520 Update documentation for Scarlett 4th Gen and Vocaster 0.4.0 0.4.0-test3 upstream/0.4.0 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
16e3a25f76 Update About dialog 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
be1f9763e1 Add firmware info to the INSTALL.md Prerequisites section 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
605df45b2f Prompt for firmware update if in MSD Mode and an update is available 2024-03-24 22:40:11 +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
6e40b8d9ed Add initial support for the Vocaster One and Two 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
607b002985 Update gain widget to show no decimal places for scale > 0.5
The 4th Gen input gain control scale is 69/70 which is close enough to
1 that we don't need to display any decimal places.
2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
0fae084ccb Display "+" before positive dB values in the gain widget 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
f00de1bd25 Add display of sample rate 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
96b4ec8259 Add gtk_widget_remove_css_classes_by_prefix() helper 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
2b664c446b Add missing static to populate_submenu() in menu.c 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
486c40048b Make window-helper.c close the window when Esc is pressed
Fixes #102.
2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
84ad0484f9 Reduce GtkDial circle brightness
Provides better contrast between dials in the sea of mixer knobs.
2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
b9549eb58e If there's an MSD control, add a reboot control too 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
b06b19e2a8 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:40:11 +10:30
Geoffrey D. Bennett
4c2a5ab12a Add 4th Gen Solo, 2i2, and 4i4 demo files 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
8b16bbdaed Make gain widget dB numbers smaller 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
7e712dece4 Don't set transient on modal window
Doesn't work on Ubuntu 22.04 GNOME when the parent goes away.
2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
52424dd067 Remove fixed/mentioned-elsewhere issues from USAGE.md 2024-03-24 22:40:11 +10:30
Geoffrey D. Bennett
fdf8c50413 Update OpenSUSE and Ubuntu package dependencies 2024-03-24 22:40:11 +10:30
Antti-Pekka Meronen
1247f8172d Include openssl-devel in Fedora installation instructions 2024-03-24 17:06:17 +10:30
Geoffrey D. Bennett
9026eb76c5 Add support for firmware update 2024-03-24 17:06:17 +10:30
Geoffrey D. Bennett
c9441b2591 Move -lm into LDFLAGS 2024-03-12 01:43:07 +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
c90fbdc3d1 CSS fixes for buttons
Make non-toggle buttons brighter.
Make disabled glow match the dimmer text colour.
Don't put an opacity filter over status buttons.
2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
2137000d05 Add red focus outline to GtkDial 2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
b02ad32d5a Fix GtkDial to redraw on notify::sensitive signal 2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
7a7e08d4eb Fix GtkDial to not redraw the dial if the set value doesn't change 2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
22a2aa2ad6 Add routing group tooltips 2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
8c06e7aff7 Update the gain widget to support updating direct monitor mix controls
The 4th Gen Solo and 2i2 have controls to set custom Mix A/B gains
when Direct Monitor is enabled. Update those controls when the Mix A/B
gains are updated so that they are remembered.
2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
b9af5dfaf3 Prefix CSS styles so they don't apply to other windows
The custom button styles were erroneously applying to the File
windows; prefix them with ".window-frame" so they only apply to our
windows.
2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
3048b43b9a Add colour to GtkDial level meters 2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
a26f607a8b Fix GtkDial to not recreate the cairo patterns on every draw 2024-02-20 23:38:49 +10:30
Geoffrey D. Bennett
1815f61280 Allow GtkDial to shrink more and reduce slider thickness 2024-02-20 23:28:31 +10:30
Geoffrey D. Bennett
eaf73c280b Remove struct dial_properties; cache values in struct _GtkDial 2024-02-20 23:28:29 +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
1cc6c64c04 Add off_db (deadband) to GtkDial for quiet signals
Add an optional deadband at the bottom of the GtkDial so that very
quiet signals can be squashed into the first 1% of the dial. This will
be used to make the level meters more realistic.
2024-02-20 23:26:10 +10:30
Geoffrey D. Bennett
17b39efee0 Add 4th Gen Solo Mix switch 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
72d45a0987 Add draw_slider() to remove some common code from dial_snapshot() 2024-02-20 23:26:10 +10:30
Geoffrey D. Bennett
9fc4c7c6e1 Use GtkTextView instead of GtkLabel in startup big_label() 2024-02-20 23:26:10 +10:30
Geoffrey D. Bennett
4b340b4d4c Add CSS for buttons that get dimmer when checked 2024-02-20 23:26:10 +10:30