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.
This commit is contained in:
@@ -7,4 +7,13 @@
|
||||
|
||||
#include "alsa.h"
|
||||
|
||||
GtkWidget *make_gain_alsa_elem(struct alsa_elem *alsa_elem, int zero_is_off);
|
||||
enum {
|
||||
WIDGET_GAIN_TAPER_LINEAR,
|
||||
WIDGET_GAIN_TAPER_LOG
|
||||
};
|
||||
|
||||
GtkWidget *make_gain_alsa_elem(
|
||||
struct alsa_elem *elem,
|
||||
int zero_is_off,
|
||||
int taper_type
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user