Searched refs:timeOutIndex (Results 1 – 5 of 5) sorted by relevance
199 SLuint32 timeOutIndex = 100; // 10s in TestPlayUri() local200 while ((prefetchStatus != SL_PREFETCHSTATUS_SUFFICIENTDATA) && (timeOutIndex > 0)) { in TestPlayUri()203 timeOutIndex--; in TestPlayUri()206 if (timeOutIndex == 0) { in TestPlayUri()
250 SLuint32 timeOutIndex = 100; // 10s in TestPlayUri() local251 while ((prefetchStatus != SL_PREFETCHSTATUS_SUFFICIENTDATA) && (timeOutIndex > 0) && in TestPlayUri()255 timeOutIndex--; in TestPlayUri()258 if (timeOutIndex == 0 || prefetchError) { in TestPlayUri()
243 SLuint32 timeOutIndex = 100; // 10s in TestGetPositionUri() local244 while ((prefetchStatus != SL_PREFETCHSTATUS_SUFFICIENTDATA) && (timeOutIndex > 0) && in TestGetPositionUri()248 timeOutIndex--; in TestGetPositionUri()251 if (timeOutIndex == 0 || prefetchError) { in TestGetPositionUri()
276 SLuint32 timeOutIndex = 10; // 1s, should be enough for a local file in CreatePlayer() local277 while ((prefetchStatus != SL_PREFETCHSTATUS_SUFFICIENTDATA) && (timeOutIndex > 0)) { in CreatePlayer()281 timeOutIndex--; in CreatePlayer()284 if (timeOutIndex == 0) { in CreatePlayer()
435 SLuint32 timeOutIndex = 50; // time out prefetching after 5s in TestDecToBuffQueue() local436 while ((prefetchStatus != SL_PREFETCHSTATUS_SUFFICIENTDATA) && (timeOutIndex > 0) && in TestDecToBuffQueue()440 timeOutIndex--; in TestDecToBuffQueue()442 if (timeOutIndex == 0 || prefetchError) { in TestDecToBuffQueue()