Searched refs:srcSampleRate (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/include/media/
H A DAudioResamplerPublic.h133 // If srcSampleRate and dstSampleRate are equal, then it returns destination frames, which
136 uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate) {
139 return srcSampleRate == dstSampleRate ? dstFramesRequired :
140 size_t((uint64_t)dstFramesRequired * srcSampleRate / dstSampleRate + 1 + 1);
145 static inline size_t destinationFramesPossible(size_t srcFrames, uint32_t srcSampleRate, argument
147 if (srcSampleRate == dstSampleRate) {
150 uint64_t dstFrames = (uint64_t)srcFrames * dstSampleRate / srcSampleRate;
155 uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate,
158 size_t required = sourceFramesNeeded(srcSampleRate, dstFramesRequired, dstSampleRate);
135 sourceFramesNeeded( uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate) argument
154 sourceFramesNeededWithTimestretch( uint32_t srcSampleRate, size_t dstFramesRequired, uint32_t dstSampleRate, float speed) argument
/frameworks/av/services/audioflinger/
H A DThreads.h1175 uint32_t srcSampleRate,
1202 uint32_t srcSampleRate,
H A DThreads.cpp7024 uint32_t srcSampleRate,
7043 (void)updateParameters(srcChannelMask, srcFormat, srcSampleRate,
7101 uint32_t srcSampleRate,
7108 && mSrcSampleRate == srcSampleRate
7117 srcChannelMask, dstChannelMask, srcFormat, dstFormat, srcSampleRate, dstSampleRate);
7123 && (srcSampleRate <= dstSampleRate * AUDIO_RESAMPLER_DOWN_RATIO_MAX)
7131 mSrcSampleRate = srcSampleRate;
7022 RecordBufferConverter( audio_channel_mask_t srcChannelMask, audio_format_t srcFormat, uint32_t srcSampleRate, audio_channel_mask_t dstChannelMask, audio_format_t dstFormat, uint32_t dstSampleRate) argument
7099 updateParameters( audio_channel_mask_t srcChannelMask, audio_format_t srcFormat, uint32_t srcSampleRate, audio_channel_mask_t dstChannelMask, audio_format_t dstFormat, uint32_t dstSampleRate) argument

Completed in 236 milliseconds