Searched refs:SL_TIME_UNKNOWN (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/wilhelm/src/itf/
H A DISeek.c31 if (SL_TIME_UNKNOWN == pos) {
32 pos = SL_TIME_UNKNOWN - 1;
62 if ((startPos != 0) && (endPos != SL_TIME_UNKNOWN)) {
92 thiz->mEndPos = (SLmillisecond) SL_TIME_UNKNOWN;*/
142 thiz->mPos = (SLmillisecond) SL_TIME_UNKNOWN;
144 thiz->mEndPos = (SLmillisecond) SL_TIME_UNKNOWN;
H A DIPlay.c165 if (SL_TIME_UNKNOWN == duration) {
226 if (SL_TIME_UNKNOWN != pos) {
309 if (SL_TIME_UNKNOWN == mSec) {
340 // clearing the marker position is equivalent to setting the marker to SL_TIME_UNKNOWN
341 if (thiz->mMarkerPosition != SL_TIME_UNKNOWN) {
342 thiz->mMarkerPosition = SL_TIME_UNKNOWN;
370 if (SL_TIME_UNKNOWN == markerPosition) {
461 thiz->mDuration = SL_TIME_UNKNOWN; // will be set by containing player object
466 thiz->mMarkerPosition = SL_TIME_UNKNOWN;
H A DIRecord.c183 if (SL_TIME_UNKNOWN == mSec) {
214 // clearing the marker position is equivalent to setting the marker to SL_TIME_UNKNOWN
215 if (thiz->mMarkerPosition != SL_TIME_UNKNOWN) {
216 thiz->mMarkerPosition = SL_TIME_UNKNOWN;
244 if (SL_TIME_UNKNOWN == markerPosition) {
321 thiz->mMarkerPosition = SL_TIME_UNKNOWN;
H A DIOutputMixExt.c134 audioPlayer->mSeek.mPos = SL_TIME_UNKNOWN;
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestLoopUri.cpp218 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
221 if (durationInMsec == SL_TIME_UNKNOWN) {
229 res = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_TRUE, 0, SL_TIME_UNKNOWN);
251 if (durationInMsec == SL_TIME_UNKNOWN) {
265 res = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_FALSE, 0, SL_TIME_UNKNOWN);
H A DslesTestGetPositionUri.cpp95 SLmillisecond posMsec = SL_TIME_UNKNOWN;
102 if (posMsec == SL_TIME_UNKNOWN) {
103 fprintf(stderr, "Error: position is SL_TIME_UNKNOWN at SL_PLAYEVENT_HEADATEND\n");
149 SLmillisecond posInMsec = SL_TIME_UNKNOWN;
150 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
258 if (durationInMsec == SL_TIME_UNKNOWN) {
273 if (posInMsec == SL_TIME_UNKNOWN) {
274 fprintf(stderr, "Error: position is SL_TIME_UNKNOWN %ds after start, exiting\n",
H A DslesTestPlayUri.cpp225 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
228 if (durationInMsec == SL_TIME_UNKNOWN) {
266 if (durationInMsec == SL_TIME_UNKNOWN) {
H A DslesTestPlayUri2.cpp218 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
221 if (durationInMsec == SL_TIME_UNKNOWN) {
228 if (durationInMsec == SL_TIME_UNKNOWN) {
H A DslesTestSlowDownUri.cpp269 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
271 if (durationInMsec == SL_TIME_UNKNOWN) {
279 res = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_TRUE, 0, SL_TIME_UNKNOWN); CheckErr(res);
352 if (durationInMsec == SL_TIME_UNKNOWN) {
374 res = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_FALSE, 0, SL_TIME_UNKNOWN); CheckErr(res);
H A DslesTestPlayStreamType.cpp178 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
181 if (durationInMsec == SL_TIME_UNKNOWN) {
H A DslesTestManyPlayers.cpp292 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
295 if (durationInMsec == SL_TIME_UNKNOWN) {
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp183 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
215 if (durationInMsec == SL_TIME_UNKNOWN) {
216 fprintf(stderr, "Error: GetDuration returned SL_TIME_UNKNOWN (after prefetch completed)\n");
234 SLmillisecond currentPositionInMsec = SL_TIME_UNKNOWN;
237 if (currentPositionInMsec == SL_TIME_UNKNOWN) {
238 fprintf(stderr, "Error: GetPosition returns SL_TIME_UNKNOWN after expected duration\n");
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeToBuffQueue.cpp218 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
221 if (durationInMsec == SL_TIME_UNKNOWN) {
231 SLmillisecond posMsec = SL_TIME_UNKNOWN;
234 if (posMsec == SL_TIME_UNKNOWN) {
449 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
452 if (durationInMsec == SL_TIME_UNKNOWN) {
H A DslesTestSendToPresetReverb.cpp248 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
251 if (durationInMsec == SL_TIME_UNKNOWN) {
273 result = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_TRUE, (SLmillisecond) 0, SL_TIME_UNKNOWN);
H A DslesTestBassBoostPath.cpp181 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
184 if (durationInMsec == SL_TIME_UNKNOWN) {
H A DslesTestPlayFdPath.cpp194 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
197 if (durationInMsec == SL_TIME_UNKNOWN) {
H A DslesTestVirtualizerPath.cpp182 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
185 if (durationInMsec == SL_TIME_UNKNOWN) {
H A DslesTestEqFdPath.cpp186 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
189 if (durationInMsec == SL_TIME_UNKNOWN) {
H A DslesTestEqOutputPath.cpp190 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
193 if (durationInMsec == SL_TIME_UNKNOWN) {
H A DslesTestDecodeAac.cpp392 if (duration == SL_TIME_UNKNOWN) {
572 } else if (position == SL_TIME_UNKNOWN) {
582 if (duration == SL_TIME_UNKNOWN) {
823 if (duration == SL_TIME_UNKNOWN) {
/frameworks/wilhelm/tests/sandbox/
H A Durimime.c126 if (SL_TIME_UNKNOWN == duration)
149 if (SL_TIME_UNKNOWN == duration)
H A Dreverb.c626 if (SL_TIME_UNKNOWN == duration) {
638 SL_TIME_UNKNOWN);
H A Dmultiplay.c231 if (p->mPlayerDuration == SL_TIME_UNKNOWN) {
/frameworks/wilhelm/src/desktop/
H A DSndFile.c198 if (SL_TIME_UNKNOWN != pos) {
199 audioPlayer->mSeek.mPos = SL_TIME_UNKNOWN;
211 if (SL_TIME_UNKNOWN != pos) {
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp274 SLmillisecond durationInMsec = SL_TIME_UNKNOWN;
277 if (durationInMsec == SL_TIME_UNKNOWN) {
343 if (durationInMsec == SL_TIME_UNKNOWN) {

Completed in 304 milliseconds

12