mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-22 07:40:00 +01:00
set fictious stream length from status tokens
This commit is contained in:
@@ -2236,10 +2236,9 @@ static void update_curve_widget(const char *name)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
lo = 0;
|
lo = 0;
|
||||||
hi = get_nums("stream_length");
|
hi = info->status_tokens[SAMPLE_MARKER_END];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
update_spin_range( "curve_spinstart", lo, hi, lo );
|
update_spin_range( "curve_spinstart", lo, hi, lo );
|
||||||
update_spin_range( "curve_spinend", lo, hi, hi );
|
update_spin_range( "curve_spinend", lo, hi, hi );
|
||||||
|
|
||||||
@@ -3507,7 +3506,7 @@ static gint load_parameter_info()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int nl = get_nums("stream_length") + 1 ;
|
int nl = info->status_tokens[SAMPLE_MARKER_END];
|
||||||
update_spin_range( "curve_spinstart", 0, nl, p[ENTRY_KF_START] );
|
update_spin_range( "curve_spinstart", 0, nl, p[ENTRY_KF_START] );
|
||||||
update_spin_range( "curve_spinend", 0,nl, p[ENTRY_KF_END] );
|
update_spin_range( "curve_spinend", 0,nl, p[ENTRY_KF_END] );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user