mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-01-21 15:14:43 +01:00
resynchronize audio every 10min
This commit is contained in:
parent
e53e33cfcf
commit
cf8a0e0497
@ -1759,7 +1759,7 @@ void emu_loop(void)
|
||||
// second changed?
|
||||
if (timestamp_x3 - timestamp_fps_x3 >= ms_to_ticks(1000) * 3)
|
||||
{
|
||||
#define FUNKEY_RESYNCHRONIZE_AUDIO_SECS (5*60)
|
||||
#define FUNKEY_RESYNCHRONIZE_AUDIO_SECS (10*60)
|
||||
#ifdef FUNKEY_RESYNCHRONIZE_AUDIO_SECS
|
||||
static unsigned int last_resync = 0, cur_sec=0;
|
||||
if(cur_sec++ - last_resync >= FUNKEY_RESYNCHRONIZE_AUDIO_SECS){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user