Home
last modified time | relevance | path

Searched refs:SL_TIME_UNKNOWN (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/wilhelm/src/itf/
DISeek.c31 if (SL_TIME_UNKNOWN == pos) { in ISeek_SetPosition()
32 pos = SL_TIME_UNKNOWN - 1; in ISeek_SetPosition()
62 if ((startPos != 0) && (endPos != SL_TIME_UNKNOWN)) { in ISeek_SetLoop()
142 thiz->mPos = (SLmillisecond) SL_TIME_UNKNOWN; in ISeek_init()
144 thiz->mEndPos = (SLmillisecond) SL_TIME_UNKNOWN; in ISeek_init()
DIPlay.c165 if (SL_TIME_UNKNOWN == duration) { in IPlay_GetDuration()
226 if (SL_TIME_UNKNOWN != pos) { in IPlay_GetPosition()
309 if (SL_TIME_UNKNOWN == mSec) { in IPlay_SetMarkerPosition()
341 if (thiz->mMarkerPosition != SL_TIME_UNKNOWN) { in IPlay_ClearMarkerPosition()
342 thiz->mMarkerPosition = SL_TIME_UNKNOWN; in IPlay_ClearMarkerPosition()
370 if (SL_TIME_UNKNOWN == markerPosition) { in IPlay_GetMarkerPosition()
461 thiz->mDuration = SL_TIME_UNKNOWN; // will be set by containing player object in IPlay_init()
466 thiz->mMarkerPosition = SL_TIME_UNKNOWN; in IPlay_init()
DIRecord.c183 if (SL_TIME_UNKNOWN == mSec) { in IRecord_SetMarkerPosition()
215 if (thiz->mMarkerPosition != SL_TIME_UNKNOWN) { in IRecord_ClearMarkerPosition()
216 thiz->mMarkerPosition = SL_TIME_UNKNOWN; in IRecord_ClearMarkerPosition()
244 if (SL_TIME_UNKNOWN == markerPosition) { in IRecord_GetMarkerPosition()
321 thiz->mMarkerPosition = SL_TIME_UNKNOWN; in IRecord_init()
/frameworks/wilhelm/tests/mimeUri/
DslesTestGetPositionUri.cpp95 SLmillisecond posMsec = SL_TIME_UNKNOWN; in PlayEventCallback()
102 if (posMsec == SL_TIME_UNKNOWN) { in PlayEventCallback()
152 SLmillisecond posInMsec = SL_TIME_UNKNOWN; in TestGetPositionUri()
153 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestGetPositionUri()
261 if (durationInMsec == SL_TIME_UNKNOWN) { in TestGetPositionUri()
276 if (posInMsec == SL_TIME_UNKNOWN) { in TestGetPositionUri()
DslesTestLoopUri.cpp221 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestLoopUri()
224 if (durationInMsec == SL_TIME_UNKNOWN) { in TestLoopUri()
232 res = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_TRUE, 0, SL_TIME_UNKNOWN); in TestLoopUri()
254 if (durationInMsec == SL_TIME_UNKNOWN) { in TestLoopUri()
268 res = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_FALSE, 0, SL_TIME_UNKNOWN); in TestLoopUri()
DslesTestSlowDownUri.cpp272 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestSlowDownUri()
274 if (durationInMsec == SL_TIME_UNKNOWN) { in TestSlowDownUri()
282 res = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_TRUE, 0, SL_TIME_UNKNOWN); CheckErr(res); in TestSlowDownUri()
355 if (durationInMsec == SL_TIME_UNKNOWN) { in TestSlowDownUri()
377 res = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_FALSE, 0, SL_TIME_UNKNOWN); CheckErr(res); in TestSlowDownUri()
DslesTestPlayUri2.cpp218 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestPlayUri()
221 if (durationInMsec == SL_TIME_UNKNOWN) { in TestPlayUri()
228 if (durationInMsec == SL_TIME_UNKNOWN) { in TestPlayUri()
DslesTestPlayUri.cpp228 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestPlayUri()
231 if (durationInMsec == SL_TIME_UNKNOWN) { in TestPlayUri()
269 if (durationInMsec == SL_TIME_UNKNOWN) { in TestPlayUri()
DslesTestPlayStreamType.cpp178 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestStreamTypeConfiguration()
181 if (durationInMsec == SL_TIME_UNKNOWN) { in TestStreamTypeConfiguration()
DslesTestManyPlayers.cpp294 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in CreatePlayer()
297 if (durationInMsec == SL_TIME_UNKNOWN) { in CreatePlayer()
/frameworks/wilhelm/tests/
DmimeUri_test.cpp186 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestPlayUri()
218 if (durationInMsec == SL_TIME_UNKNOWN) { in TestPlayUri()
237 SLmillisecond currentPositionInMsec = SL_TIME_UNKNOWN; in TestPlayUri()
240 if (currentPositionInMsec == SL_TIME_UNKNOWN) { in TestPlayUri()
/frameworks/wilhelm/tests/examples/
DslesTestDecodeToBuffQueue.cpp218 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in DecPlayCallback()
221 if (durationInMsec == SL_TIME_UNKNOWN) { in DecPlayCallback()
231 SLmillisecond posMsec = SL_TIME_UNKNOWN; in DecPlayCallback()
234 if (posMsec == SL_TIME_UNKNOWN) { in DecPlayCallback()
449 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestDecToBuffQueue()
452 if (durationInMsec == SL_TIME_UNKNOWN) { in TestDecToBuffQueue()
DslesTestPlayFdPath.cpp163 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestPlayPathFromFD()
166 if (durationInMsec == SL_TIME_UNKNOWN) { in TestPlayPathFromFD()
DslesTestSendToPresetReverb.cpp249 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestSendToPresetReverb()
252 if (durationInMsec == SL_TIME_UNKNOWN) { in TestSendToPresetReverb()
274 result = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_TRUE, (SLmillisecond) 0, SL_TIME_UNKNOWN); in TestSendToPresetReverb()
DslesTestVirtualizerPath.cpp182 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestVirtualizerPathFromFD()
185 if (durationInMsec == SL_TIME_UNKNOWN) { in TestVirtualizerPathFromFD()
DslesTestBassBoostPath.cpp181 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestBassBoostPathFromFD()
184 if (durationInMsec == SL_TIME_UNKNOWN) { in TestBassBoostPathFromFD()
DslesTestEqFdPath.cpp186 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestEQPathFromFD()
189 if (durationInMsec == SL_TIME_UNKNOWN) { in TestEQPathFromFD()
DslesTestEqOutputPath.cpp190 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestEQPathFromFD()
193 if (durationInMsec == SL_TIME_UNKNOWN) { in TestEQPathFromFD()
DslesTestDecodeAac.cpp393 if (duration == SL_TIME_UNKNOWN) { in DecPlayCallback()
573 } else if (position == SL_TIME_UNKNOWN) { in TestDecToBuffQueue()
583 if (duration == SL_TIME_UNKNOWN) { in TestDecToBuffQueue()
824 if (duration == SL_TIME_UNKNOWN) { in TestDecToBuffQueue()
/frameworks/wilhelm/src/desktop/
DSndFile.c198 if (SL_TIME_UNKNOWN != pos) { in audioPlayerTransportUpdate()
199 audioPlayer->mSeek.mPos = SL_TIME_UNKNOWN; in audioPlayerTransportUpdate()
211 if (SL_TIME_UNKNOWN != pos) { in audioPlayerTransportUpdate()
/frameworks/wilhelm/tests/sandbox/
Durimime.c126 if (SL_TIME_UNKNOWN == duration) in main()
149 if (SL_TIME_UNKNOWN == duration) in main()
Dreverb.c626 if (SL_TIME_UNKNOWN == duration) { in main()
638 SL_TIME_UNKNOWN); in main()
Dmultiplay.c231 if (p->mPlayerDuration == SL_TIME_UNKNOWN) { in main()
/frameworks/wilhelm/tests/sandbox/streamSource/
DslesTestPlayStream.cpp274 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestPlayStream()
277 if (durationInMsec == SL_TIME_UNKNOWN) { in TestPlayStream()
/frameworks/ex/variablespeed/jni/
Dvariablespeed.cc519 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in ReadDuration()
521 if (durationInMsec == SL_TIME_UNKNOWN) { in ReadDuration()
530 SLmillisecond positionInMsec = SL_TIME_UNKNOWN; in ReadPosition()
532 if (positionInMsec == SL_TIME_UNKNOWN) { in ReadPosition()

12