public static class ContiguousBlockAllocator.Factory extends Object implements BlockAllocator.Factory
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
BlockAllocator |
create(int size)
Creates a new block allocator instance of the given size.
|
BlockAllocator |
create(int size,
int pos)
Creates a new block allocator instance of the given size,
with Bus indices starting at a given index.
|
public BlockAllocator create(int size)
BlockAllocator.Factory
create
in interface BlockAllocator.Factory
size
- the number of channels the allocator managespublic BlockAllocator create(int size, int pos)
BlockAllocator.Factory
create
in interface BlockAllocator.Factory
size
- the number of channels the allocator managespos
- the first bus index to use. this is usefull for example
to return private audio busses which begin right after the hardware
wired busses.ServerOptions.getFirstPrivateBus()
Copyright © 2015–2022 SciJava. All rights reserved.