Lines Matching refs:frames
95 /*! Fills the supplied buffer with /frames/ frames of silence and returns a
96 pointer to the frames after the filled range.
97 /frames/ must be >= 0.*/
99 AudioReader::ReadSilence(void* buffer, int64 frames) const
101 void* bufferEnd = SkipFrames(buffer, frames);
102 int32 sampleCount = frames * fFormat.u.raw_audio.channel_count;
127 //! Returns a buffer pointer offset by /frames/ frames.
129 AudioReader::SkipFrames(void* buffer, int64 frames) const
134 return (char*)buffer + frames * frameSize;
139 AudioReader::ReverseFrames(void* buffer, int64 frames) const
145 char* back = (char*)buffer + (frames - 1) * frameSize;