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 TypeMethodDescriptionvoidcopyFromChannel(float[] destination, int channelNumber) voidcopyFromChannel(float[] destination, int channelNumber, int startInChannel) voidcopyFromChannel(Float32Array destination, int channelNumber) voidcopyFromChannel(Float32Array destination, int channelNumber, int startInChannel) voidcopyToChannel(float[] source, int channelNumber) voidcopyToChannel(float[] source, int channelNumber, int startInChannel) voidcopyToChannel(Float32Array source, int channelNumber) voidcopyToChannel(Float32Array source, int channelNumber, int startInChannel) getChannelData(int channel) doubleintintfloatMethods 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)
-