Searched refs:srcFrames (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 592 const void *srcBuffer, size_t *srcFrames) in processFrames() argument 594 ALOGV("processFrames(%zu %zu) remaining(%zu)", *dstFrames, *srcFrames, mRemaining); in processFrames() 604 if (*srcFrames < targetSrc) { // limit dst frames to that possible in processFrames() 605 *dstFrames = *srcFrames / mPlaybackRate.mSpeed; in processFrames() 606 } else if (*srcFrames > targetSrc + 1) { in processFrames() 607 *srcFrames = targetSrc + 1; in processFrames() 612 if (*dstFrames <= *srcFrames) { in processFrames() 617 for (size_t count = 0; count < *dstFrames; count += *srcFrames) { in processFrames() 618 size_t remaining = std::min(*srcFrames, *dstFrames - count); in processFrames() 641 if (sonicWriteFloatToStream(mSonicStream, (float*)srcBuffer, *srcFrames) != 1) { in processFrames() [all …]
|
/frameworks/av/include/media/ |
D | AudioResamplerPublic.h | 94 static inline size_t destinationFramesPossible(size_t srcFrames, uint32_t srcSampleRate, in destinationFramesPossible() argument 97 return srcFrames; in destinationFramesPossible() 99 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate; in destinationFramesPossible()
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioResamplerPublic.h | 94 static inline size_t destinationFramesPossible(size_t srcFrames, uint32_t srcSampleRate, in destinationFramesPossible() argument 97 return srcFrames; in destinationFramesPossible() 99 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate; in destinationFramesPossible()
|
D | BufferProviders.h | 223 const void *srcBuffer, size_t *srcFrames);
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 2016 size_t srcFrames = in getInputBufferSize() local 2019 srcFrames, config.sample_rate, sampleRate); in getInputBufferSize()
|