Searched refs:SDL_alarm_interval (Results 1 – 6 of 6) sorted by relevance
160 if (SDL_timer_running && SDL_GetTicks() - timerStart >= SDL_alarm_interval) in RISCOS_CheckTimer()164 ms = SDL_alarm_callback(SDL_alarm_interval); in RISCOS_CheckTimer()165 if ( ms != SDL_alarm_interval ) in RISCOS_CheckTimer()169 SDL_alarm_interval = ROUND_RESOLUTION(ms); in RISCOS_CheckTimer()172 SDL_alarm_interval = 0; in RISCOS_CheckTimer()176 if (SDL_alarm_interval) timerStart = SDL_GetTicks(); in RISCOS_CheckTimer()
150 ms = SDL_alarm_callback(SDL_alarm_interval); in TimerCallbackProc()152 SDL_alarm_interval = ROUND_RESOLUTION(ms); in TimerCallbackProc()154 SDL_alarm_interval); in TimerCallbackProc()156 SDL_alarm_interval = 0; in TimerCallbackProc()177 PrimeTime((QElemPtr)&gExtendedTimerRec.tmTask, SDL_alarm_interval); in SDL_SYS_StartTimer()
116 ms = SDL_alarm_callback(SDL_alarm_interval); in TimerCallbackProc()118 SDL_alarm_interval = ROUND_RESOLUTION(ms); in TimerCallbackProc()120 SDL_alarm_interval); in TimerCallbackProc()122 SDL_alarm_interval = 0; in TimerCallbackProc()143 PrimeTime((QElemPtr)&gExtendedTimerRec.tmTask, SDL_alarm_interval); in SDL_SYS_StartTimer()
144 ms = (*SDL_alarm_callback)(SDL_alarm_interval); in HandleAlarm()145 if ( ms != SDL_alarm_interval ) { in HandleAlarm()173 timer.it_value.tv_sec = (SDL_alarm_interval/1000); in SDL_SYS_StartTimer()174 timer.it_value.tv_usec = (SDL_alarm_interval%1000)*1000; in SDL_SYS_StartTimer()175 timer.it_interval.tv_sec = (SDL_alarm_interval/1000); in SDL_SYS_StartTimer()176 timer.it_interval.tv_usec = (SDL_alarm_interval%1000)*1000; in SDL_SYS_StartTimer()
34 extern Uint32 SDL_alarm_interval;
35 Uint32 SDL_alarm_interval = 0; variable275 SDL_alarm_interval = ms; in SDL_SetTimer()