This commit is contained in:
c0ntrol
2020-07-19 23:09:02 +02:00
parent e37500e156
commit c6bda71a74
3 changed files with 11 additions and 1 deletions

View File

@@ -2525,7 +2525,9 @@
<property name="page_increment">10</property>
</object>
<object class="GtkAdjustment" id="loop_stop">
<property name="upper">10000</property>
<property name="upper">1000000</property>
<property name="lower">0</property>
<property name="value">0</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>

View File

@@ -1235,6 +1235,11 @@ int sample_set_resume(int s1,long position)
sample->resume_pos = start;
}
}
if(sample->offset > 0) {
sample->resume_pos = sample->offset;
}
sample->loop_pp = 0;
}
else {

View File

@@ -3656,6 +3656,9 @@ static int vj_perform_transition_get_sample_position(int sample_id)
position = 0;
}
sample_update_offset(sample_id, position);
veejay_msg(VEEJAY_MSG_DEBUG, "Sample %d is at position %d", sample_id, position);
return (sample_b[0] + position); //1
}