mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-23 00:00:02 +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);
|
g_free(title);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int reload_entry_tick_=0;
|
||||||
static void update_globalinfo(int *history, int pm, int last_pm)
|
static void update_globalinfo(int *history, int pm, int last_pm)
|
||||||
{
|
{
|
||||||
int i;
|
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 )
|
if( info->status_tokens[CURRENT_ID] != history[CURRENT_ID] || last_pm != pm )
|
||||||
{
|
{
|
||||||
// slot changed
|
// slot changed
|
||||||
|
|||||||
Reference in New Issue
Block a user