Lines Matching refs:frames
39 double inFrameRate, double outFrameRate, int32 frames)
44 for (sample_t outFrame = 0; outFrame < frames; outFrame++) {
110 AudioResampler::Read(void* buffer, int64 pos, int64 frames)
112 TRACE("AudioResampler::Read(%p, %lld, %lld)\n", buffer, pos, frames);
119 // calculate position and frames in the source data
121 int64 sourceFrames = ConvertToSource(pos + frames) - sourcePos;
123 if (sourceFrames == frames) {
128 ReadSilence(buffer, frames);
140 // we need at least two frames to interpolate
157 channelCount, inFrameRate, outFrameRate, (int32)frames);
161 channelCount, inFrameRate, outFrameRate, (int32)frames);
165 channelCount, inFrameRate, outFrameRate, (int32)frames);
169 channelCount, inFrameRate, outFrameRate, (int32)frames);
173 channelCount, inFrameRate, outFrameRate, (int32)frames);
178 ReverseFrames(buffer, frames);