306 Commits

Author SHA1 Message Date
Geoffrey D. Bennett
befce0824f Check Firmware Version before enabling Levels menu item
The level meters don't work correctly on earlier kernel versions, so
they shouldn't be displayed in that case. The "Firmware Version" ALSA
control was added to the kernel at the same time as the level meters
were fixed, so use the presence of that to determine whether or not to
enable the menu item.
0.3.2
2023-11-19 13:12:50 +10:30
Geoffrey D. Bennett
abee3e537c Pass APP_VERSION through flatpak-builder
Fixes the version number missing in the flatpak.
2023-11-19 00:25:41 +10:30
Geoffrey D. Bennett
e92e391548 Add Clarett USB/Clarett+ models to window-hardware.c 2023-11-18 02:03:01 +10:30
fenugrec
c49a788ecd Reduce code duplication in menu.c 2023-11-18 01:58:43 +10:30
fenugrec
2936f110be Replace deprecated gtk_widget_{show,hide} calls
The replacement, gtk_widget_set_visible(), is available since 2.18.
There is some code duplication in menu.c that could eventually be
unified.
2023-11-18 01:50:42 +10:30
Geoffrey D. Bennett
fb3429ba6c Global replace "destination" with "sink"
Fixes #73.
2023-11-17 15:40:53 +10:30
Geoffrey D. Bennett
3595f5ccf5 Update Makefile to get version from $APP_VERSION
If git describe fails, check $APP_VERSION, otherwise set the version
to "Unknown".
0.3.1
2023-11-15 00:00:28 +10:30
Guillaume
a9a180d5f4 Fix deb package icon install 2023-11-14 23:29:58 +10:30
Guillaume
06a8c2be32 Github action to build debian package on release 0.3 2023-11-14 01:54:42 +10:30
Geoffrey D. Bennett
d96ced2b45 Add meter/level display 2023-11-14 01:54:42 +10:30
sporksnail
38edefb93e window-startup.c: fix typo
Fix a minor typo in window-startup.c
2023-11-13 03:24:41 +10:30
Geoffrey D. Bennett
3b424664f0 Update INSTALL and README with Linux 6.7 info 2023-11-11 02:20:47 +10:30
Geoffrey D. Bennett
e225cdc58a Add org.gnome.Platform and flathub to flatpak instructions 2023-10-20 15:03:45 +10:30
Geoffrey D. Bennett
2e197248d8 Update flatpak to gnome 45 2023-10-20 15:02:51 +10:30
Geoffrey D. Bennett
48d4ea5ce5 Move flatpak instructions to INSTALL.md 2023-10-20 14:55:39 +10:30
Geoffrey D. Bennett
cb11f8170e Fix iface-none.png image description 2023-10-20 14:54:10 +10:30
Guillaume
492c87638e Using github.com/flatpak/flatpak-github-actions 2023-10-20 12:54:13 +10:30
Guillaume
c8ecaeb15c Remove commented rename-icon property 2023-10-20 12:54:13 +10:30
Guillaume
5a68e64c4f Fix Error: icon alsa-scarlett-gui not found below... 2023-10-19 03:38:07 +10:30
Alejandro Domínguez
e899eae6a1 Enable Flatpak packaging support 2023-10-19 03:38:07 +10:30
Alejandro Domínguez
2ce8450031 Do not use deprecated or non-standard keys in desktop file 2023-10-19 03:38:07 +10:30
Alejandro Domínguez
5637e411d4 Change icon file name
It's a good idea to use the new FreeDesktop conventions for
file names. It adapts better to stuff like Flatpak.
2023-10-19 03:38:07 +10:30
David Cooper
e176fad933 Add keyword to desktop file 2023-10-19 03:29:28 +10:30
Geoffrey D. Bennett
1839c18671 Specify full path to alsactl
Debian doesn't include /usr/sbin in $PATH so alsactl isn't found.
Hopefully it's in /usr/sbin for everyone.

Fixes #65.
2023-10-19 02:08:58 +10:30
Geoffrey D. Bennett
a2bbac248a Update README with Gen 4 and Vocaster info 2023-10-09 02:23:50 +10:30
Geoffrey D. Bennett
ea920d6343 Apply correction curve to the dials
Display the volume levels on the dials with a correction curve that
resembles what the volume knob on the hardware does.
2023-10-09 02:05:21 +10:30
Geoffrey D. Bennett
3fa5803476 Update Clarett USB and Clarett+ status 2023-10-09 02:05:15 +10:30
Geoffrey D. Bennett
0c92b7cad8 Add Clarett Plus 2Pre and 4Pre demo files 2023-10-09 01:55:35 +10:30
Geoffrey D. Bennett
94646665ed Split USAGE.md into INSTALL.md and USAGE.md 2023-10-09 01:55:25 +10:30
Geoffrey D. Bennett
7436008f1b Update README and USAGE files with new Clarett info
Clarett+ 4Pre support is coming soon.
2023-09-20 03:52:11 +09:30
Geoffrey D. Bennett
7c9ec68d7c Fix input counting for Clarett+ series
The Clarett+ series don't have a pad function, so can't rely on that
for creating input controls. Look for "Line ... Capture Switch" rather
than "Line ... Pad Capture Switch".
2023-09-20 03:36:53 +09:30
Geoffrey D. Bennett
cf7d2b2b9d Add link to fundraiser for adding Scarlett Gen 4 support 2023-09-07 02:26:58 +09:30
Geoffrey D. Bennett
10fb7160fa Update README.md and USAGE.md with current driver information
Kernel 6.1 added Clarett+ 8Pre support.

Clarett 8Pre USB is supported now, works the same as Clarett+ 8Pre,
just has a different USB ID.
2023-09-07 02:21:12 +09:30
Geoffrey D. Bennett
fb9ccfed49 Fix building with Gtk 4.10
Add -Wno-error=deprecated-declarations to the Makefile so that it
can build when using Gtk 4.10.
2023-09-07 02:10:48 +09:30
Geoffrey D. Bennett
59716b9585 Fix typos in USAGE.md 2023-09-07 02:04:22 +09:30
Geoffrey D. Bennett
65c0f6aa43 Add Clarett support 2022-08-12 01:42:54 +09:30
Geoffrey D. Bennett
be3f126f92 Add Ubuntu install and git download instructions 2022-04-24 00:09:40 +12:00
Sebastian Kaminski
50b7531dd2 Prevent the boolean widget from changing size when toggled
When the label of the button for the boolean widget changes, the size
of the button was also changing. This commit sets the minimum size of
the widget so that it will accommodate both labels.
2022-04-02 23:14:50 +10:30
Geoffrey D. Bennett
c175afbad7 Clarify comments and variable names in choose_line_colour() 2022-04-01 17:42:19 +10:30
Szabolcs Szőke
b9f0b64d18 Make routing sources and destinations the same width
Fixes #4.
2022-03-27 15:38:56 +02:00
Sebastian Kaminski
961c417603 Fixed typo for 18i20 Gen 3 Mic/Line 3-8 2022-03-21 12:32:23 +10:30
Geoffrey D. Bennett
52f8c7ab8c Fix format-security warning in error.c
gtk_message_dialog_new() takes a format string which should be "%s" in
this case, not the string to display. Reported by Sebastian.
2022-03-17 17:06:19 +10:30
Geoffrey D. Bennett
d085fd49c1 Add top-level Makefile and RPM spec file for packaging
Top-level Makefile can create tar and RPM files to release.
Also add *.tar.gz to .gitignore.
0.2
2022-03-17 02:12:30 +10:30
Geoffrey D. Bennett
f70c0cb409 Add help target to src/Makefile 2022-03-17 01:32:22 +10:30
KottV
c7881dfae9 Fix linking in OBS
Fixes #5.
2022-03-17 00:46:42 +10:30
Geoffrey D. Bennett
f0b3d3d01d Don't hardcode the version number in the about dialog
Update the Makefile to use git describe to get the version number and
define that as a macro that about.c can use.
2022-03-15 23:21:17 +10:30
Geoffrey D. Bennett
a55fe4cb5b Add copyright info to the Makefile 2022-03-15 23:15:53 +10:30
Geoffrey D. Bennett
8257949e5d Add desktop and icon files and install into the correct place
Remove 48x48 icon; use 256x256 icon only.
Remove icons from the executable.
No need to call gtk_window_set_default_icon_name() anymore.
Add desktop file.
Add install and uninstall Makefile targets.
Update USAGE.md with installation instructions.
Thanks to @szszoke for figuring this one out!

Fixes #2.
2022-03-15 01:29:56 +10:30
Geoffrey D. Bennett
5b1f4f2b61 Change route-label hover background colour to work with dark theme
Hard-coding a light background for route-label hovering didn't work
well with dark themes which have text in a light colour. Use
@theme_selected_bg_color as suggested by @szszoke.

Fixes #3.
2022-03-15 00:12:18 +10:30
Geoffrey D. Bennett
3beee99c78 Reformat CSS to not be so squishy
Whitespace changes only.
2022-03-15 00:06:22 +10:30