Searched defs:srcFrames (Results 1 - 2 of 2) sorted by relevance
/frameworks/av/include/media/ |
H A D | AudioResamplerPublic.h | 143 // An upper bound for the number of destination frames possible from srcFrames 145 static inline size_t destinationFramesPossible(size_t srcFrames, uint32_t srcSampleRate, argument 148 return srcFrames; 150 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate;
|
/frameworks/av/services/audioflinger/ |
H A D | BufferProviders.cpp | 472 const void *srcBuffer, size_t *srcFrames) 474 ALOGV("processFrames(%zu %zu) remaining(%zu)", *dstFrames, *srcFrames, mRemaining); 481 if (*srcFrames < targetSrc) { // limit dst frames to that possible 482 *dstFrames = *srcFrames / mPlaybackRate.mSpeed; 483 } else if (*srcFrames > targetSrc + 1) { 484 *srcFrames = targetSrc + 1; 492 if (*dstFrames <= *srcFrames) { 497 for (size_t count = 0; count < *dstFrames; count += *srcFrames) { 498 size_t remaining = min(*srcFrames, *dstFrames - count); 521 if (sonicWriteFloatToStream(mSonicStream, (float*)srcBuffer, *srcFrames) ! 471 processFrames(void *dstBuffer, size_t *dstFrames, const void *srcBuffer, size_t *srcFrames) argument [all...] |
Completed in 58 milliseconds