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.
This commit is contained in:
@@ -65,6 +65,9 @@ int gtk_dial_get_round_digits(GtkDial *dial);
|
||||
void gtk_dial_set_zero_db(GtkDial *dial, double zero_db);
|
||||
double gtk_dial_get_zero_db(GtkDial *dial);
|
||||
|
||||
void gtk_dial_set_off_db(GtkDial *dial, double off_db);
|
||||
double gtk_dial_get_off_db(GtkDial *dial);
|
||||
|
||||
// taper functions
|
||||
enum {
|
||||
GTK_DIAL_TAPER_LINEAR,
|
||||
|
||||
Reference in New Issue
Block a user