@Environment(value=CLIENT) static class SoundEngine.SourceSetImpl extends Object implements SoundEngine.SourceSet
| Modifier and Type | Field and Description |
|---|---|
private int |
maxSourceCount |
private Set<Source> |
sources |
| Constructor and Description |
|---|
SourceSetImpl(int maxSourceCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Source |
createSource() |
int |
getMaxSourceCount() |
int |
getSourceCount() |
boolean |
release(Source source) |
@Nullable public Source createSource()
createSource in interface SoundEngine.SourceSetpublic boolean release(Source source)
release in interface SoundEngine.SourceSetpublic void close()
close in interface SoundEngine.SourceSetpublic int getMaxSourceCount()
getMaxSourceCount in interface SoundEngine.SourceSetpublic int getSourceCount()
getSourceCount in interface SoundEngine.SourceSet