-
- All Known Subinterfaces:
AudioEngine
- All Known Implementing Classes:
BaseAudioEngine
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SoundBuilder
Build a stream audio from a file.- Author:
- Grégory Van Den Borre
-
-
Method Summary
Modifier and Type Method Description SoundSource
createSound(String file)
Build a SoundSource from a file.
-
-
-
Method Detail
-
createSound
SoundSource createSound(String file)
Build a SoundSource from a file.- Parameters:
file
- File to load, cannot be null.- Returns:
- The built SoundSource, never null.
-
-