| Package | Description |
|---|---|
| com.codename1.media |
Video and Audio playback support are handled within this package using the
Media & MediaManager APIs. |
| Modifier and Type | Method and Description |
|---|---|
static AudioBuffer |
MediaManager.getAudioBuffer(String path)
Gets an audio buffer at the given path.
|
static AudioBuffer |
MediaManager.getAudioBuffer(String path,
boolean create,
int size)
Gets or creates an audio buffer at the given path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AudioBuffer.copyFrom(AudioBuffer source)
Copies data into the buffer from the given source buffer.
|
void |
AudioBuffer.copyTo(AudioBuffer dest)
Copies data to another audio buffer.
|
void |
AudioBuffer.AudioBufferCallback.frameReceived(AudioBuffer buffer)
Method called when the contents of the AudioBuffer are changed.
|
Copyright © 2022. All rights reserved.