Interface AudioBuffer.AudioBufferCallback
- Enclosing class:
AudioBuffer
public static interface AudioBuffer.AudioBufferCallback
A callback that can be registered to receive notifications when the contents of the AudioBuffer is changed.
IMPORTANT: There are no guarantees what thread this callback will be run on, and it will almost never occur on the EDT.
-
Method Summary
Modifier and TypeMethodDescriptionvoidframeReceived(AudioBuffer buffer) Method called when the contents of the AudioBuffer are changed.
-
Method Details
-
frameReceived
Method called when the contents of the AudioBuffer are changed.
IMPORTANT: There are no guarantees what thread this callback will be run on, and it will almost never occur on the EDT.
Parameters
buffer
-