Package ej.audio
Class AudioHeap
java.lang.Object
ej.audio.AudioHeap
-
Method Details
-
getInstance
-
allocate
public boolean allocate(int blockSize) Simulates the allocation ofblockSizebytes on the heap.- Parameters:
blockSize- the size of the block, in bytes, to allocate- Returns:
- true if heap can be allocated, false otherwise
-
onFree
public void onFree(int blockSize)
-