Searched refs:timeOutIndex (Results 1 – 5 of 5) sorted by relevance
202 SLuint32 timeOutIndex = 100; // 10s in TestPlayUri() local203 while ((prefetchStatus != SL_PREFETCHSTATUS_SUFFICIENTDATA) && (timeOutIndex > 0)) { in TestPlayUri()206 timeOutIndex--; in TestPlayUri()209 if (timeOutIndex == 0) { in TestPlayUri()
253 SLuint32 timeOutIndex = 100; // 10s in TestPlayUri() local254 while ((prefetchStatus != SL_PREFETCHSTATUS_SUFFICIENTDATA) && (timeOutIndex > 0) && in TestPlayUri()258 timeOutIndex--; in TestPlayUri()261 if (timeOutIndex == 0 || prefetchError) { in TestPlayUri()
246 SLuint32 timeOutIndex = 100; // 10s in TestGetPositionUri() local247 while ((prefetchStatus != SL_PREFETCHSTATUS_SUFFICIENTDATA) && (timeOutIndex > 0) && in TestGetPositionUri()251 timeOutIndex--; in TestGetPositionUri()254 if (timeOutIndex == 0 || prefetchError) { in TestGetPositionUri()
278 SLuint32 timeOutIndex = 10; // 1s, should be enough for a local file in CreatePlayer() local279 while ((prefetchStatus != SL_PREFETCHSTATUS_SUFFICIENTDATA) && (timeOutIndex > 0)) { in CreatePlayer()283 timeOutIndex--; in CreatePlayer()286 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()