Package playn.java
Class JavaAudio
java.lang.Object
playn.core.Audio
playn.java.JavaAudio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionplayn.java.JavaSoundcreateSound(playn.java.JavaAssets.Resource rsrc, boolean music) Creates a sound instance from the audio data available viain.
-
Constructor Details
-
JavaAudio
-
-
Method Details
-
createSound
public playn.java.JavaSound createSound(playn.java.JavaAssets.Resource rsrc, boolean music) Creates a sound instance from the audio data available viain.- Parameters:
rsrc- an resource instance via which the audio data can be read.music- if true, a customClipimplementation will be used which can handle long audio clips; if false, the default Java clip implementation is used which cannot handle long audio clips.
-