Searched refs:dstSampleRate (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioResamplerPublic.h | 85 uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate) { in sourceFramesNeeded() argument 88 return srcSampleRate == dstSampleRate ? dstFramesRequired : in sourceFramesNeeded() 89 size_t((uint64_t)dstFramesRequired * srcSampleRate / dstSampleRate + 1 + 1); in sourceFramesNeeded() 95 uint32_t dstSampleRate) { in destinationFramesPossible() argument 96 if (srcSampleRate == dstSampleRate) { in destinationFramesPossible() 99 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate; in destinationFramesPossible() 104 uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate, in sourceFramesNeededWithTimestretch() argument 107 size_t required = sourceFramesNeeded(srcSampleRate, dstFramesRequired, dstSampleRate); in sourceFramesNeededWithTimestretch()
|
D | RecordBufferConverter.h | 49 uint32_t dstSampleRate); 76 uint32_t dstSampleRate);
|
/frameworks/av/include/media/ |
D | AudioResamplerPublic.h | 85 uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate) { in sourceFramesNeeded() argument 88 return srcSampleRate == dstSampleRate ? dstFramesRequired : in sourceFramesNeeded() 89 size_t((uint64_t)dstFramesRequired * srcSampleRate / dstSampleRate + 1 + 1); in sourceFramesNeeded() 95 uint32_t dstSampleRate) { in destinationFramesPossible() argument 96 if (srcSampleRate == dstSampleRate) { in destinationFramesPossible() 99 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate; in destinationFramesPossible() 104 uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate, in sourceFramesNeededWithTimestretch() argument 107 size_t required = sourceFramesNeeded(srcSampleRate, dstFramesRequired, dstSampleRate); in sourceFramesNeededWithTimestretch()
|
/frameworks/av/media/libaudioprocessing/ |
D | RecordBufferConverter.cpp | 44 uint32_t dstSampleRate) : in RecordBufferConverter() argument 62 dstChannelMask, dstFormat, dstSampleRate); in RecordBufferConverter() 132 uint32_t dstSampleRate) in updateParameters() argument 140 && mDstSampleRate == dstSampleRate) { in updateParameters() 146 srcChannelMask, dstChannelMask, srcFormat, dstFormat, srcSampleRate, dstSampleRate); in updateParameters() 152 && (srcSampleRate <= dstSampleRate * AUDIO_RESAMPLER_DOWN_RATIO_MAX) in updateParameters() 163 mDstSampleRate = dstSampleRate; in updateParameters()
|