Searched refs:srcSampleRate (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/include/media/ |
D | AudioResamplerPublic.h | 136 uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate) { in sourceFramesNeeded() argument 139 return srcSampleRate == dstSampleRate ? dstFramesRequired : in sourceFramesNeeded() 140 size_t((uint64_t)dstFramesRequired * srcSampleRate / dstSampleRate + 1 + 1); in sourceFramesNeeded() 145 static inline size_t destinationFramesPossible(size_t srcFrames, uint32_t srcSampleRate, in destinationFramesPossible() argument 147 if (srcSampleRate == dstSampleRate) { in destinationFramesPossible() 150 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate; in destinationFramesPossible() 155 uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate, in sourceFramesNeededWithTimestretch() argument 158 size_t required = sourceFramesNeeded(srcSampleRate, dstFramesRequired, dstSampleRate); in sourceFramesNeededWithTimestretch()
|
D | RecordBufferConverter.h | 47 uint32_t srcSampleRate, 74 uint32_t srcSampleRate,
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | AudioResamplerPublic.h | 136 uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate) { in sourceFramesNeeded() argument 139 return srcSampleRate == dstSampleRate ? dstFramesRequired : in sourceFramesNeeded() 140 size_t((uint64_t)dstFramesRequired * srcSampleRate / dstSampleRate + 1 + 1); in sourceFramesNeeded() 145 static inline size_t destinationFramesPossible(size_t srcFrames, uint32_t srcSampleRate, in destinationFramesPossible() argument 147 if (srcSampleRate == dstSampleRate) { in destinationFramesPossible() 150 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate; in destinationFramesPossible() 155 uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate, in sourceFramesNeededWithTimestretch() argument 158 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()
|
/frameworks/av/media/libmedia/include/media/ |
D | RecordBufferConverter.h | 47 uint32_t srcSampleRate, 74 uint32_t srcSampleRate,
|