Searched refs:dstFrames (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 591 void TimestretchBufferProvider::processFrames(void *dstBuffer, size_t *dstFrames, in processFrames() argument 594 ALOGV("processFrames(%zu %zu) remaining(%zu)", *dstFrames, *srcFrames, mRemaining); in processFrames() 603 const size_t targetSrc = *dstFrames * mPlaybackRate.mSpeed; in processFrames() 605 *dstFrames = *srcFrames / mPlaybackRate.mSpeed; in processFrames() 609 if (*dstFrames > 0) { in processFrames() 612 if (*dstFrames <= *srcFrames) { in processFrames() 613 size_t copySize = mFrameSize * *dstFrames; 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() 626 memset(dstBuffer,0, mFrameSize * *dstFrames); in processFrames() [all …]
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioResamplerPublic.h | 99 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate; in destinationFramesPossible() local 100 return dstFrames > 2 ? dstFrames - 2 : 0; in destinationFramesPossible()
|
D | BufferProviders.h | 222 virtual void processFrames(void *dstBuffer, size_t *dstFrames,
|
/frameworks/av/include/media/ |
D | AudioResamplerPublic.h | 99 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate; in destinationFramesPossible() local 100 return dstFrames > 2 ? dstFrames - 2 : 0; in destinationFramesPossible()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 2018 size_t dstFrames = destinationFramesPossible( in getInputBufferSize() local 2020 bytes = dstFrames * audio_bytes_per_frame(dstChannelCount, format); in getInputBufferSize()
|