Package org.teavm.jso.webaudio
Interface AudioBuffer
- All Superinterfaces:
org.teavm.jso.JSObject
public interface AudioBuffer
extends org.teavm.jso.JSObject
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyFromChannel
(float[] destination, int channelNumber) void
copyFromChannel
(float[] destination, int channelNumber, int startInChannel) void
copyFromChannel
(Float32Array destination, int channelNumber) void
copyFromChannel
(Float32Array destination, int channelNumber, int startInChannel) void
copyToChannel
(float[] source, int channelNumber) void
copyToChannel
(float[] source, int channelNumber, int startInChannel) void
copyToChannel
(Float32Array source, int channelNumber) void
copyToChannel
(Float32Array source, int channelNumber, int startInChannel) getChannelData
(int channel) double
int
int
float
Methods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
getSampleRate
float getSampleRate() -
getLength
int getLength() -
getDuration
double getDuration() -
getNumberOfChannels
int getNumberOfChannels() -
getChannelData
-
copyFromChannel
-
copyFromChannel
void copyFromChannel(float[] destination, int channelNumber) -
copyFromChannel
-
copyFromChannel
void copyFromChannel(float[] destination, int channelNumber, int startInChannel) -
copyToChannel
-
copyToChannel
void copyToChannel(float[] source, int channelNumber) -
copyToChannel
-
copyToChannel
void copyToChannel(float[] source, int channelNumber, int startInChannel)
-