Searched refs:srcSampleRate (Results 1 – 3 of 3) 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()
|
/frameworks/av/services/audioflinger/ |
D | Threads.h | 1171 uint32_t srcSampleRate, 1198 uint32_t srcSampleRate,
|
D | Threads.cpp | 7002 uint32_t srcSampleRate, in RecordBufferConverter() argument 7021 (void)updateParameters(srcChannelMask, srcFormat, srcSampleRate, in RecordBufferConverter() 7079 uint32_t srcSampleRate, in updateParameters() argument 7086 && mSrcSampleRate == srcSampleRate in updateParameters() 7095 srcChannelMask, dstChannelMask, srcFormat, dstFormat, srcSampleRate, dstSampleRate); in updateParameters() 7101 && (srcSampleRate <= dstSampleRate * AUDIO_RESAMPLER_DOWN_RATIO_MAX) in updateParameters() 7109 mSrcSampleRate = srcSampleRate; in updateParameters()
|