public interface AudioEventListener
Modifier and Type | Method and Description |
---|---|
void |
afterPlay(AudioPlayer ap,
SampleChunk sc)
Called after the audio player given has played a sample chunk
|
void |
audioEnded()
Called when the audio stream reaches the end.
|
void |
beforePlay(SampleChunk sc)
Called before a sample chunk has been played.
|
void beforePlay(SampleChunk sc)
sc
- The sample chunk that will be played.void afterPlay(AudioPlayer ap, SampleChunk sc)
ap
- The audio player that played a sample chunksc
- The sample chunk last playedvoid audioEnded()