public interface BlockAllocator
BlockAllocatorinterface allows the use of different implementations of allocators for audio and control busses by the
Serverclass. Busses are identified by their address or position (an integer number) and a number of channels. An instance of of a block allocator is obtained through a helper class that implements the
|Modifier and Type||Interface and Description|
This sub interface describes a class which represents a block of indices in a
This sub interface describes a class which is capable of producing a new
int alloc(int numChannels)
numChannels- the number of channels to allocate. must be greater than zero.
-1if the allocator ran out of busses.
void free(int address)
address- the index of the bus
Copyright © 2015–2017 UW-Madison LOCI. All rights reserved.