Searched defs:rate (Results 26 - 30 of 30) sorted by path
12
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 186 // minimum number of frames to cover output latency at the sample rate of the content 939 SL_LOGE("Cannot create audio player: unsupported sample rate %u milliHz", 1732 SLresult android_audioPlayer_setPlaybackRateAndConstraints(CAudioPlayer *ap, SLpermille rate, argument 1738 assert((AUDIOTRACK_MIN_PLAYBACKRATE_PERMILLE <= rate) && 1739 (rate <= AUDIOTRACK_MAX_PLAYBACKRATE_PERMILLE)); 1741 // get the content sample rate 1743 // apply the SL ES playback rate on the AudioTrack as a factor of its content sample rate 1745 ap->mAudioTrack->setSampleRate(contentRate * (rate/1000.0f)); 1750 assert((MEDIAPLAYER_MIN_PLAYBACKRATE_PERMILLE <= rate) [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IPlaybackRate.c | 22 static SLresult IPlaybackRate_SetRate(SLPlaybackRateItf self, SLpermille rate) argument 28 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties); 44 thiz->mRate = rate; 62 SLpermille rate = thiz->mRate; local 64 *pRate = rate; 128 SLpermille rate, SLuint32 *pCapabilities) 138 if (!(thiz->mMinRate <= rate && rate < 127 IPlaybackRate_GetCapabilitiesOfRate(SLPlaybackRateItf self, SLpermille rate, SLuint32 *pCapabilities) argument [all...] |
H A D | IRatePitch.c | 22 static SLresult IRatePitch_SetRate(SLRatePitchItf self, SLpermille rate) argument 27 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 31 thiz->mRate = rate; 49 SLpermille rate = thiz->mRate; local 51 *pRate = rate;
|
H A D | IVisualization.c | 23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate) 27 if (!(0 < rate && rate <= 20000)) { 34 thiz->mRate = rate; 22 IVisualization_RegisterVisualizationCallback(SLVisualizationItf self, slVisualizationCallback callback, void *pContext, SLmilliHertz rate) argument
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestSlowDownUri.cpp | 71 SLpermille minRate, maxRate, stepSize, rate = 1000; local 75 SLresult res = (*pRateItf)->GetRate(pRateItf, &rate); CheckErr(res); 78 fprintf(stdout, "old rate = %d, minRate=%d, maxRate=%d\n", rate, minRate, maxRate); 79 rate /= 2; 80 if (rate < minRate) { 81 rate = minRate; 83 fprintf(stdout, "new rate = %d\n", rate); 84 res = (*pRateItf)->SetRate(pRateItf, rate); CheckEr 292 SLpermille rate = 1234; local [all...] |
Completed in 3799 milliseconds
12