From 53f6d167e1a0278b2e7065103dd434689ef2f6d7 Mon Sep 17 00:00:00 2001 From: niels Date: Fri, 13 Nov 2015 23:40:29 +0100 Subject: [PATCH] correctly update sample properties in reloaded --- veejay-current/veejay-client/src/vj-api.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/veejay-current/veejay-client/src/vj-api.c b/veejay-current/veejay-client/src/vj-api.c index ea96ab36..4583ac8d 100644 --- a/veejay-current/veejay-client/src/vj-api.c +++ b/veejay-current/veejay-client/src/vj-api.c @@ -3132,11 +3132,12 @@ static void update_current_slot(int *history, int pm, int last_pm) update_slider_value("slow_slider", info->status_tokens[FRAME_DUP],0); } - if( (history[SAMPLE_START] != info->status_tokens[SAMPLE_START] )) + /* veejay keeps sample limits , dont use update_spin_range for spin_samplestart and spin_sampleend */ + if( (history[SAMPLE_START] != info->status_tokens[SAMPLE_START] || get_nums("spin_samplestart") != info->status_tokens[SAMPLE_START])) { update = 1; } - if( (history[SAMPLE_END] != info->status_tokens[SAMPLE_END] )) + if( (history[SAMPLE_END] != info->status_tokens[SAMPLE_END] || get_nums("spin_sampleend") != info->status_tokens[SAMPLE_END]) ) { update = 1; }