Home
last modified time | relevance | path

Searched refs:SLmillisecond (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/wilhelm/src/itf/
DISeek.cpp22 static SLresult ISeek_SetPosition(SLSeekItf self, SLmillisecond pos, SLuint32 seekMode) in ISeek_SetPosition()
52 SLmillisecond startPos, SLmillisecond endPos) in ISeek_SetLoop()
109 SLmillisecond *pStartPos, SLmillisecond *pEndPos) in ISeek_GetLoop()
119 SLmillisecond startPos = thiz->mStartPos; in ISeek_GetLoop()
120 SLmillisecond endPos = thiz->mEndPos; in ISeek_GetLoop()
142 thiz->mPos = (SLmillisecond) SL_TIME_UNKNOWN; in ISeek_init()
143 thiz->mStartPos = (SLmillisecond) 0; in ISeek_init()
144 thiz->mEndPos = (SLmillisecond) SL_TIME_UNKNOWN; in ISeek_init()
DIPlay.cpp152 static SLresult IPlay_GetDuration(SLPlayItf self, SLmillisecond *pMsec) in IPlay_GetDuration()
163 SLmillisecond duration = thiz->mDuration; in IPlay_GetDuration()
166 SLmillisecond temp; in IPlay_GetDuration()
195 static SLresult IPlay_GetPosition(SLPlayItf self, SLmillisecond *pMsec) in IPlay_GetPosition()
203 SLmillisecond position; in IPlay_GetPosition()
225 SLmillisecond pos = audioPlayer->mSeek.mPos; in IPlay_GetPosition()
305 static SLresult IPlay_SetMarkerPosition(SLPlayItf self, SLmillisecond mSec) in IPlay_SetMarkerPosition()
358 static SLresult IPlay_GetMarkerPosition(SLPlayItf self, SLmillisecond *pMsec) in IPlay_GetMarkerPosition()
367 SLmillisecond markerPosition = thiz->mMarkerPosition; in IPlay_GetMarkerPosition()
381 static SLresult IPlay_SetPositionUpdatePeriod(SLPlayItf self, SLmillisecond mSec) in IPlay_SetPositionUpdatePeriod()
[all …]
DIRecord.cpp69 static SLresult IRecord_SetDurationLimit(SLRecordItf self, SLmillisecond msec) in IRecord_SetDurationLimit()
87 static SLresult IRecord_GetPosition(SLRecordItf self, SLmillisecond *pMsec) in IRecord_GetPosition()
95 SLmillisecond position; in IRecord_GetPosition()
179 static SLresult IRecord_SetMarkerPosition(SLRecordItf self, SLmillisecond mSec) in IRecord_SetMarkerPosition()
232 static SLresult IRecord_GetMarkerPosition(SLRecordItf self, SLmillisecond *pMsec) in IRecord_GetMarkerPosition()
241 SLmillisecond markerPosition = thiz->mMarkerPosition; in IRecord_GetMarkerPosition()
255 static SLresult IRecord_SetPositionUpdatePeriod(SLRecordItf self, SLmillisecond mSec) in IRecord_SetPositionUpdatePeriod()
277 static SLresult IRecord_GetPositionUpdatePeriod(SLRecordItf self, SLmillisecond *pMsec) in IRecord_GetPositionUpdatePeriod()
286 SLmillisecond positionUpdatePeriod = thiz->mPositionUpdatePeriod; in IRecord_GetPositionUpdatePeriod()
317 thiz->mPosition = (SLmillisecond) 0; in IRecord_init()
DIEnvironmentalReverb.cpp163 SLEnvironmentalReverbItf self, SLmillisecond decayTime) in IEnvironmentalReverb_SetDecayTime()
192 SLEnvironmentalReverbItf self, SLmillisecond *pDecayTime) in IEnvironmentalReverb_GetDecayTime()
342 SLEnvironmentalReverbItf self, SLmillisecond reflectionsDelay) in IEnvironmentalReverb_SetReflectionsDelay()
371 SLEnvironmentalReverbItf self, SLmillisecond *pReflectionsDelay) in IEnvironmentalReverb_GetReflectionsDelay()
462 SLEnvironmentalReverbItf self, SLmillisecond reverbDelay) in IEnvironmentalReverb_SetReverbDelay()
491 SLEnvironmentalReverbItf self, SLmillisecond *pReverbDelay) in IEnvironmentalReverb_GetReverbDelay()
/frameworks/wilhelm/src/
Ditfstruct.h470 SLmillisecond mDuration;
471 SLmillisecond mPosition;
476 SLmillisecond mMarkerPosition;
477 SLmillisecond mPositionUpdatePeriod; // Zero means do not do position updates (FIXME ~0)
480 SLmillisecond mLastSeekPosition; // Last known accurate position, set at Seek
538 SLmillisecond mDurationLimit;
539 SLmillisecond mPosition;
543 SLmillisecond mMarkerPosition;
544 SLmillisecond mPositionUpdatePeriod;
550 SLmillisecond mPos; // mPos != SL_TIME_UNKNOWN means pending seek request
[all …]
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.h52 extern XAresult android_Player_getDuration(IPlay *pPlayItf, SLmillisecond *pDurMsec);
53 extern XAresult android_Player_getPosition(IPlay *pPlayItf, SLmillisecond *pPosMsec);
74 extern XAresult android_Player_seek(CMediaPlayer *mp, SLmillisecond posMsec);
DAudioPlayer_to_android.h77 extern SLresult android_audioPlayer_getDuration(IPlay *pPlayItf, SLmillisecond *pDurMsec);
119 extern SLresult android_audioPlayer_seek(CAudioPlayer *pAudioPlayer, SLmillisecond posMsec);
123 extern void android_audioPlayer_getPosition(IPlay *pPlayItf, SLmillisecond *pPosMsec);
DAudioRecorder_to_android.h60 extern void android_audioRecorder_getPosition(CAudioRecorder *ar, SLmillisecond *pPosMsec);
/frameworks/wilhelm/tests/listening/
DseekTorture.c86 SLmillisecond duration; in main()
103 result = (*playerSeek)->SetPosition(playerSeek, (SLmillisecond) position, in main()
122 SLmillisecond delay = 100 + (rand() & 8191); in main()
125 SLmillisecond newPos = duration * ((rand() & 65535) / 65536.0); in main()
129 SLmillisecond nowPos; in main()
DslesTest_playMuteSolo.cpp110 SLmillisecond position; in PlayEventCallback()
269 SLmillisecond duration; in TestPlayUri()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h79 typedef SLuint32 SLmillisecond; typedef
948 SLmillisecond *pMsec
952 SLmillisecond *pMsec
969 SLmillisecond mSec
976 SLmillisecond *pMsec
980 SLmillisecond mSec
984 SLmillisecond *pMsec
1110 SLmillisecond pos,
1116 SLmillisecond startPos,
1117 SLmillisecond endPos
[all …]
/frameworks/wilhelm/tests/examples/
DslesTestDecodeToBuffQueue.cpp152 SLmillisecond msec; in DecProgressCallback()
181 SLmillisecond msec; in DecPlayCallback()
218 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in DecPlayCallback()
231 SLmillisecond posMsec = SL_TIME_UNKNOWN; in DecPlayCallback()
449 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestDecToBuffQueue()
DslesTestDecodeAac.cpp208 SLmillisecond position; in PlayCallback()
386 SLmillisecond position; in DecPlayCallback()
389 SLmillisecond duration; in DecPlayCallback()
568 SLmillisecond position; in TestDecToBuffQueue()
580 SLmillisecond duration; in TestDecToBuffQueue()
DslesTestSendToPresetReverb.cpp248 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestSendToPresetReverb()
273 result = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_TRUE, (SLmillisecond) 0, SL_TIME_UNKNOWN); in TestSendToPresetReverb()
DslesTestRecBuffQueue.cpp99 SLmillisecond pMsec = 0; in RecCallback()
105 SLmillisecond pMsec = 0; in RecCallback()
DslesTestPlayFdPath.cpp194 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestPlayPathFromFD()
DslesTestBassBoostPath.cpp181 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestBassBoostPathFromFD()
/frameworks/wilhelm/tests/mimeUri/
DslesTestPlayUri.cpp109 SLmillisecond pMsec = 0; in PlayEventCallback()
115 SLmillisecond pMsec = 0; in PlayEventCallback()
225 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestPlayUri()
DslesTestGetPositionUri.cpp95 SLmillisecond posMsec = SL_TIME_UNKNOWN; in PlayEventCallback()
149 SLmillisecond posInMsec = SL_TIME_UNKNOWN; in TestGetPositionUri()
150 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestGetPositionUri()
DslesTestManyPlayers.cpp115 SLmillisecond pMsec = 0; in PlayEventCallback()
122 SLmillisecond pMsec = 0; in PlayEventCallback()
292 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in CreatePlayer()
DslesTestPlayStreamType.cpp178 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestStreamTypeConfiguration()
/frameworks/wilhelm/tests/
DmimeUri_test.cpp183 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestPlayUri()
234 SLmillisecond currentPositionInMsec = SL_TIME_UNKNOWN; in TestPlayUri()
/frameworks/wilhelm/src/desktop/
DSndFile.cpp197 SLmillisecond pos = audioPlayer->mSeek.mPos; in audioPlayerTransportUpdate()
261 thiz->mPlay.mDuration = (SLmillisecond) (((long long) thiz->mSndFile.mSfInfo.frames * in SndFile_Realize()
/frameworks/wilhelm/tests/sandbox/
Dmultiplay.c34 SLmillisecond mPlayerDuration;
217 SLmillisecond delay = 100 + (rand() & 1023); in main()
Durimime.c123 SLmillisecond duration; in main()

12