Searched defs:position (Results 1 - 7 of 7) sorted by relevance

/system/media/wilhelm/src/itf/
H A DIMIDITime.c39 static SLresult IMIDITime_SetPosition(SLMIDITimeItf self, SLuint32 position) argument
45 if (!(position < thiz->mDuration)) {
49 thiz->mPosition = position;
67 SLuint32 position = thiz->mPosition; local
69 *pPosition = position;
H A DIPlay.c185 // otherwise the duration will be updated each time a new maximum position is detected
203 SLmillisecond position; local
207 // and doesn't cache the position
210 android_audioPlayer_getPosition(thiz, &position);
213 android_Player_getPosition(thiz, &position);
220 // on other platforms we depend on periodic updates to the current position
221 position = thiz->mPosition;
222 // if a seek is pending, then lie about current position so the seek appears synchronous
227 position = pos;
232 *pMsec = position;
[all...]
H A DIRecord.c95 SLmillisecond position; local
100 android_audioRecorder_getPosition(InterfaceToCAudioRecorder(thiz), &position); local
102 position = thiz->mPosition;
105 position = thiz->mPosition;
108 *pMsec = position;
214 // clearing the marker position is equivalent to setting the marker to SL_TIME_UNKNOWN
/system/media/wilhelm/tests/listening/
H A DseekTorture.c100 unsigned position, duration; local
101 while (fscanf(fp_map, "%u %u", &position, &duration) == 2) {
102 printf("%u %u\n", position, duration);
103 result = (*playerSeek)->SetPosition(playerSeek, (SLmillisecond) position,
H A DslesTest_playMuteSolo.cpp110 SLmillisecond position; local
111 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res);
112 printf("position=%u\n", (unsigned) position);
292 /* Setup to receive playback events on position updates */
/system/media/wilhelm/tests/sandbox/
H A Dxaplay.c132 XAmillisecond position; local
141 result = (*caller)->GetPosition(caller, &position);
143 printf("XA_PLAYEVENT_HEADATNEWPOS current position=%ums\n", position);
147 result = (*caller)->GetPosition(caller, &position);
149 printf("XA_PLAYEVENT_HEADATMARKER current position=%ums\n", position);
449 // set position update period
/system/media/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp153 SLmillisecond position; local
154 SLresult res = (*caller)->GetPosition(caller, &position);
157 printf("SL_PLAYEVENT_HEADATMARKER position=%u ms\n", position);
160 printf("SL_PLAYEVENT_HEADATNEWPOS position=%u ms\n", position);
163 printf("SL_PLAYEVENT_HEADATEND position=%u ms, all decoded data has been received\n",
164 position);
325 /* Periodically ask for position and duration */
327 SLmillisecond position; local
503 SLmillisecond position; local
[all...]

Completed in 83 milliseconds