To configure a server to use ContiguousBlockAllocator, execute the following:
aServer.options.blockAllocClass = ContiguousBlockAllocator;
Normally you will not need to address the allocators directly. However, ContiguousBlockAllocator adds one feature not present in PowerOfTwoAllocator, namely the reserve method.
Create a new allocator with size slots. You may block off the first pos slots (the server's audioBusAllocator does this to reserve the hardware input and output buses).
Return the starting index of a free block that is n slots wide. The default is 1 slot.
Free a previously allocated block starting at address.
Mark a specific range of addresses as used so that the alloc method will not return any addresses within that range.