mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-13 03:09:59 +01:00
WIP
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user