Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public 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.

Methods

public abstract void frameReceived(AudioBuffer buffer)Method called when the contents of the AudioBuffer are changed.

Method details

frameReceived

public abstract void frameReceived(AudioBuffer buffer)

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.