Skip to content

Commit

Permalink
GUI: set max knob to 24
Browse files Browse the repository at this point in the history
  • Loading branch information
ohac committed Sep 2, 2016
1 parent 5eb3c27 commit 58d6e50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drmr_ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ static gboolean kit_callback(gpointer data) {
int samples = (ui->kitReq<ui->kits->num_kits && ui->kitReq >= 0)?
ui->kits->kits[ui->kitReq].samples:
0;
if (samples > 24) samples = 24;
GtkWidget** gain_sliders;
GtkWidget** pan_sliders;
if (ui->sample_table) {
Expand Down

0 comments on commit 58d6e50

Please sign in to comment.