Skip to content

Commit

Permalink
Reloaded3 - fix sample record calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
d-j-a-y committed Jun 17, 2019
1 parent 63565bb commit 04fab81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions veejay-current/veejay-client/src/callback.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ static int bg_[4];
static int fg_[4];
static int ln_[4];

static int sample_calctime();
static inline int sample_calctime(int nframes);
static int sample_calctime_selection();
static int sample_calctime_mulloop();

static void change_box_color_rgb( GtkWidget *box, int r, int g, int b,int a, int fill );

Expand Down Expand Up @@ -1621,7 +1622,7 @@ void on_button_sample_recordstart_clicked(GtkWidget *widget, gpointer user_data)

if( is_button_toggled( "sample_mulloop" ) )
{
int base = sample_calctime();
int base = sample_calctime_mulloop();
n_frames = base * dur_val;
multi_vims( VIMS_SAMPLE_CLEAR_MARKER, "%d", 0 );
}
Expand Down
1 change: 0 additions & 1 deletion veejay-current/veejay-client/src/callback.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ update_label_str( "value_friendlyname", _effect_get_hint( entry_tokens[ENTRY_FXI
}\
}

/*int sample_calctime();*/
void text_defaults();

gboolean boxbg_draw ( GtkWidget *w, cairo_t *cr);
Expand Down

0 comments on commit 04fab81

Please sign in to comment.