mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-03-23 12:22:52 +01:00
resynchronize audio every 10min
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user