Commit Graph

187 Commits

Author SHA1 Message Date
Geoffrey D. Bennett
945ccc874d Fix dial to grab focus when clicked
Partial cherry-pick from 5dc3ab Sebastian Kaminski
"dial grabs focus when being clicked".
2023-12-15 03:14:23 +10:30
Geoffrey D. Bennett
fef139be64 Split calc_valp() into calc_valp() and calc_valp_log()
gtk_dial_drag_gesture_begin() needs a linear calc_valp().
2023-12-15 02:55:42 +10:30
Geoffrey D. Bennett
e506edc965 Remove keyboard accelerator mention from USAGE.md
Implemented in 21f0d9d.
2023-12-15 02:51:00 +10:30
Geoffrey D. Bennett
f10a383e36 Reformat keyboard accelerators to match existing code
Terminate menus[] with empty-initialised as well.
2023-12-15 02:44:37 +10:30
Trent
21f0d9dd05 Add keyboard accelerators (aka shortcuts, hotkeys) for menu items. 2023-12-12 14:25:25 -07:00
Jason A. Donenfeld
d81f9ca2bb gtkdial: use fabs() for double
Passing a double to abs() truncates it to an integer, which is probably
not intended, and also causes fatal errors on clang.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-12-05 12:29:49 +10:30
Geoffrey D. Bennett
3a3860f617 Move FUNDING.yml to the right spot 2023-12-04 12:45:30 +10:30
Geoffrey D. Bennett
e7eea495ff Fix typo in INSTALL.md: comitting -> committing 2023-12-03 22:13:44 +10:30
Geoffrey D. Bennett
7b3c662dcb Add OpenSUSE package requirements 2023-12-03 22:07:19 +10:30
Geoffrey D. Bennett
6812c001de Fix long lines 2023-12-02 04:15:55 +10:30
Geoffrey D. Bennett
266b90e8ce Update FAQ with more MSD info 2023-12-02 03:51:53 +10:30
Geoffrey D. Bennett
21cc6d6021 Allow the mixer window to be resized and give it scrollbars 2023-12-02 03:06:53 +10:30
Geoffrey D. Bennett
ce40aa1ba9 Add link from USAGE.md to INTERFACES.md 2023-12-02 02:55:15 +10:30
Geoffrey D. Bennett
33bc54480d Add TOC to INTERFACES.md 2023-12-02 02:45:32 +10:30
Geoffrey D. Bennett
d7f673cb32 Add Clarett info to INTERFACES.md 2023-12-02 02:44:18 +10:30
Geoffrey D. Bennett
0f269fb2da Add issue template 2023-12-02 02:31:31 +10:30
Geoffrey D. Bennett
89e5eeaa61 Add FUNDING.yml 2023-12-02 01:51:02 +10:30
Geoffrey D. Bennett
58446d1511 Add initial version of FAQ.md 2023-12-02 01:37:33 +10:30
Jason A. Donenfeld
4cb1cd6e57 Makefile: prefer distro cflags if specified
The compilation flags that are necessary for building and part of the
developer's intentions belong in the `+=` section, but the base flags
that distros like to override belong in a `?=` section, so that build
systems using their own are respected.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-12-01 14:19:36 +10:30
Geoffrey D. Bennett
8ef011145c Fix typo in INSTALL.md driver disabled message 2023-12-01 01:27:43 +10:30
Geoffrey D. Bennett
68fb1c3655 Add Gtk4 info to INSTALL.md 2023-12-01 01:27:20 +10:30
Geoffrey D. Bennett
1d844bfa1c Add info to INSTALL.md on how to check the kernel version 2023-12-01 01:23:53 +10:30
Geoffrey D. Bennett
68b6d0a047 Update software name in INSTALL.md and USAGE.md
Rename from "ALSA Scarlett Gen 2/3 Control Panel" to "ALSA Scarlett2
Control Panel".
2023-12-01 01:18:55 +10:30
Geoffrey D. Bennett
734ec616cc Update README.md with Gen 4 info
Driver was renamed to Scarlett2.
Add list of supported interfaces.
Add link to Gen 4 driver update.
2023-12-01 01:15:14 +10:30
sporksnail
1211746b9e src/Makefile: Respect CFLAGS from environment 0.3.3 2023-11-30 12:44:03 +10:30
Geoffrey D. Bennett
32c0062367 Update drag_motion() to scroll the routing window
The routing window will be scrolled relative to the position of the
mouse within the window so all sources/sinks can be reached when
dragging.
2023-11-30 00:42:55 +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
26db9dec52 Improve layout for larger interfaces without speaker switching
The Clarett 8Pre layout was very wide; it would be preferable if the
main window output controls were placed below the global & input
controls like for the Gen 3 18i8 and 18i20.

Rather than use the presence of speaker switching to determine which
main window layout to use, check the number of input & output
controls, and use the taller layout if the total is 12 or more.
2023-11-26 22:56:09 +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
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