/frameworks/wilhelm/src/itf/ |
D | ISeek.cpp | 22 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()
|
D | IPlay.cpp | 152 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 …]
|
D | IRecord.cpp | 69 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()
|
D | IEnvironmentalReverb.cpp | 163 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/ |
D | itfstruct.h | 470 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/ |
D | MediaPlayer_to_android.h | 52 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);
|
D | AudioPlayer_to_android.h | 77 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);
|
D | AudioRecorder_to_android.h | 60 extern void android_audioRecorder_getPosition(CAudioRecorder *ar, SLmillisecond *pPosMsec);
|
/frameworks/wilhelm/tests/listening/ |
D | seekTorture.c | 86 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()
|
D | slesTest_playMuteSolo.cpp | 110 SLmillisecond position; in PlayEventCallback() 269 SLmillisecond duration; in TestPlayUri()
|
/frameworks/wilhelm/include/SLES/ |
D | OpenSLES.h | 79 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/ |
D | slesTestDecodeToBuffQueue.cpp | 152 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()
|
D | slesTestDecodeAac.cpp | 208 SLmillisecond position; in PlayCallback() 386 SLmillisecond position; in DecPlayCallback() 389 SLmillisecond duration; in DecPlayCallback() 568 SLmillisecond position; in TestDecToBuffQueue() 580 SLmillisecond duration; in TestDecToBuffQueue()
|
D | slesTestSendToPresetReverb.cpp | 248 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestSendToPresetReverb() 273 result = (*seekItf)->SetLoop(seekItf, SL_BOOLEAN_TRUE, (SLmillisecond) 0, SL_TIME_UNKNOWN); in TestSendToPresetReverb()
|
D | slesTestRecBuffQueue.cpp | 99 SLmillisecond pMsec = 0; in RecCallback() 105 SLmillisecond pMsec = 0; in RecCallback()
|
D | slesTestPlayFdPath.cpp | 194 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestPlayPathFromFD()
|
D | slesTestBassBoostPath.cpp | 181 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestBassBoostPathFromFD()
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTestPlayUri.cpp | 109 SLmillisecond pMsec = 0; in PlayEventCallback() 115 SLmillisecond pMsec = 0; in PlayEventCallback() 225 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestPlayUri()
|
D | slesTestGetPositionUri.cpp | 95 SLmillisecond posMsec = SL_TIME_UNKNOWN; in PlayEventCallback() 149 SLmillisecond posInMsec = SL_TIME_UNKNOWN; in TestGetPositionUri() 150 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestGetPositionUri()
|
D | slesTestManyPlayers.cpp | 115 SLmillisecond pMsec = 0; in PlayEventCallback() 122 SLmillisecond pMsec = 0; in PlayEventCallback() 292 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in CreatePlayer()
|
D | slesTestPlayStreamType.cpp | 178 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestStreamTypeConfiguration()
|
/frameworks/wilhelm/tests/ |
D | mimeUri_test.cpp | 183 SLmillisecond durationInMsec = SL_TIME_UNKNOWN; in TestPlayUri() 234 SLmillisecond currentPositionInMsec = SL_TIME_UNKNOWN; in TestPlayUri()
|
/frameworks/wilhelm/src/desktop/ |
D | SndFile.cpp | 197 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/ |
D | multiplay.c | 34 SLmillisecond mPlayerDuration; 217 SLmillisecond delay = 100 + (rand() & 1023); in main()
|
D | urimime.c | 123 SLmillisecond duration; in main()
|