Home
last modified time | relevance | path

Searched refs:offsetInFrames (Results 1 – 1 of 1) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Daudio_buffer.h67 T* getFrameAt(int offsetInFrames) const { in getFrameAt() argument
68 return mData + offsetInFrames * CountsConverter<T>::getChannelCount(); in getFrameAt()
81 AudioBufferBase<T> getView(int offsetInFrames, size_t lengthInFrames) const { in getView() argument
82 if (offsetInFrames < 0) { in getView()
83 __android_log_assert("assert", "lb2", "Negative buffer offset %d", offsetInFrames); in getView()
85 if (lengthInFrames > CountsConverter<T>::getFrameCount() - offsetInFrames) { in getView()
86 lengthInFrames = CountsConverter<T>::getFrameCount() - offsetInFrames; in getView()
89 getFrameAt(offsetInFrames), lengthInFrames, CountsConverter<T>::getChannelCount()); in getView()
119 int offsetInFrames = 0, size_t lengthInFrames = AudioBufferBase<T>::npos) const {
120 return AudioBufferBase<T>::getView(offsetInFrames, lengthInFrames);
[all …]