Package ipsk.audio.dsp
Class BufferInfoArray<T extends BufferInfo>
- java.lang.Object
-
- ipsk.audio.dsp.BufferInfoArray<T>
-
- Direct Known Subclasses:
BufferLevelInfoArray
public class BufferInfoArray<T extends BufferInfo> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BufferInfoArray()BufferInfoArray(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(T bi)voidclear()BufferInfogetBufferInfoAtFramePosition(long framePosition)intgetLength()Get length (capacity) of the arraybooleanisAvailable(long framePosition, int length)java.util.List<T>listBufferInfosTangentInterval(long fromFramePosition, long toFramePosition)List all tangent buffersjava.lang.StringtoString()
-
-
-
Method Detail
-
getLength
public int getLength()
Get length (capacity) of the array- Returns:
- the length (capacity) of the array
-
add
public void add(T bi)
-
clear
public void clear()
-
getBufferInfoAtFramePosition
public BufferInfo getBufferInfoAtFramePosition(long framePosition)
-
listBufferInfosTangentInterval
public java.util.List<T> listBufferInfosTangentInterval(long fromFramePosition, long toFramePosition)
List all tangent buffers- Parameters:
fromFramePosition- start of intervaltoFramePosition- stop of interval- Returns:
- list of tangent buffer infos
-
isAvailable
public boolean isAvailable(long framePosition, int length)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-