public class ChannelManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ChannelManager.Entry |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<ChannelManager.Entry> |
channels |
private SoundSystem |
sndSystem |
private java.util.concurrent.Executor |
soundExecutor |
Constructor and Description |
---|
ChannelManager(SoundSystem p_i50894_1_,
java.util.concurrent.Executor p_i50894_2_) |
Modifier and Type | Method and Description |
---|---|
ChannelManager.Entry |
createChannel(SoundSystem.Mode mode) |
void |
func_217897_a(java.util.function.Consumer<java.util.stream.Stream<SoundSource>> p_217897_1_) |
void |
releaseAll() |
void |
tick() |
private final java.util.Set<ChannelManager.Entry> channels
private final SoundSystem sndSystem
private final java.util.concurrent.Executor soundExecutor
public ChannelManager(SoundSystem p_i50894_1_, java.util.concurrent.Executor p_i50894_2_)
public ChannelManager.Entry createChannel(SoundSystem.Mode mode)
public void func_217897_a(java.util.function.Consumer<java.util.stream.Stream<SoundSource>> p_217897_1_)
public void tick()
public void releaseAll()