Searched refs:srcSampleRate (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() 94 static inline size_t destinationFramesPossible(size_t srcFrames, uint32_t srcSampleRate, 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 | 47 uint32_t srcSampleRate, 74 uint32_t srcSampleRate,
|
/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() 94 static inline size_t destinationFramesPossible(size_t srcFrames, uint32_t srcSampleRate, 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 | 42 uint32_t srcSampleRate, in RecordBufferConverter() argument 61 (void)updateParameters(srcChannelMask, srcFormat, srcSampleRate, in RecordBufferConverter() 130 uint32_t srcSampleRate, in updateParameters() argument 137 && mSrcSampleRate == srcSampleRate in updateParameters() 146 srcChannelMask, dstChannelMask, srcFormat, dstFormat, srcSampleRate, dstSampleRate); in updateParameters() 152 && (srcSampleRate <= dstSampleRate * AUDIO_RESAMPLER_DOWN_RATIO_MAX) in updateParameters() 160 mSrcSampleRate = srcSampleRate; in updateParameters()
|