|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aurellem.capture.examples.Advanced.Dancer
public class Advanced.Dancer
Constructor Summary | |
---|---|
Advanced.Dancer(com.jme3.scene.Geometry entity)
|
Method Summary | |
---|---|
void |
cleanup()
this method is irrelevant since there is no state to cleanup. |
void |
process(java.nio.ByteBuffer audioSamples,
int numSamples,
javax.sound.sampled.AudioFormat format)
Respond to sound! This is the brain of an AI entity that hears it's surroundings and reacts to them. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Advanced.Dancer(com.jme3.scene.Geometry entity)
Method Detail |
---|
public void cleanup()
cleanup
in interface SoundProcessor
public void process(java.nio.ByteBuffer audioSamples, int numSamples, javax.sound.sampled.AudioFormat format)
process
in interface SoundProcessor
audioSamples
- a ByteBuffer containing processed audio
samplesnumSamples
- the number of samples, in bytes, that are validformat
- the format of the audio samples in audioSamples
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |