mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-21 23:30:00 +01:00
reload chain entry every 1/2 second
This commit is contained in:
@@ -6007,6 +6007,7 @@ static void set_pm_page_label(int sample_id, int type)
|
||||
g_free(title);
|
||||
}
|
||||
|
||||
static int reload_entry_tick_=0;
|
||||
static void update_globalinfo(int *history, int pm, int last_pm)
|
||||
{
|
||||
int i;
|
||||
@@ -6028,6 +6029,13 @@ static void update_globalinfo(int *history, int pm, int last_pm)
|
||||
|
||||
}
|
||||
|
||||
if( pm != MODE_PLAIN ) {
|
||||
if( (reload_entry_tick_ % ((int)info->el.fps/2))==0) {
|
||||
info->uc.reload_hint[HINT_ENTRY] = 1;
|
||||
}
|
||||
reload_entry_tick_++;
|
||||
}
|
||||
|
||||
if( info->status_tokens[CURRENT_ID] != history[CURRENT_ID] || last_pm != pm )
|
||||
{
|
||||
// slot changed
|
||||
|
||||
Reference in New Issue
Block a user