Searched refs:timeoutMS (Results 1 – 3 of 3) sorted by relevance
/AliOS-Things-master/components/SDL2/src/core/unix/ |
A D | SDL_poll.c | 38 SDL_IOReady(int fd, SDL_bool forWrite, int timeoutMS) in SDL_IOReady() argument 54 result = poll(&info, 1, timeoutMS); in SDL_IOReady() 73 if (timeoutMS >= 0) { in SDL_IOReady() 74 tv.tv_sec = timeoutMS / 1000; in SDL_IOReady() 75 tv.tv_usec = (timeoutMS % 1000) * 1000; in SDL_IOReady()
|
A D | SDL_poll.h | 30 extern int SDL_IOReady(int fd, SDL_bool forWrite, int timeoutMS);
|
/AliOS-Things-master/components/SDL2/src/audio/paudio/ |
A D | SDL_paudio.c | 141 int timeoutMS; in PAUDIO_WaitDevice() local 148 timeoutMS = 10 * 1000; in PAUDIO_WaitDevice() 150 timeoutMS = paud_bufinfo.write_buf_time; in PAUDIO_WaitDevice() 152 fprintf(stderr, "Waiting for write_buf_time=%d ms\n", timeoutMS); in PAUDIO_WaitDevice() 159 if (SDL_IOReady(this->hidden->audio_fd, SDL_TRUE, timeoutMS) <= 0) { in PAUDIO_WaitDevice()
|
Completed in 5 milliseconds