Public Member Functions | |
Sound (String wavfile) | |
void | trigger () |
void | trigger (boolean looping) |
Protected Member Functions | |
void | finalize () throws Throwable |
Package Functions | |
void | renderSelf () |
Package Attributes | |
String | wavfile |
int | source |
int | buffer |
Definition at line 18 of file Sound.java.
org.hfbk.vis.visnode.Sound.Sound | ( | String | wavfile | ) |
creates sound node from given .wav filename
wavfile |
Definition at line 28 of file Sound.java.
References org.hfbk.vis.visnode.VisNode.radius.
void org.hfbk.vis.visnode.Sound.renderSelf | ( | ) | [package, virtual] |
implement this to actually render this node itself. also used to update a node's state.
things not seen also do not update. this is sometimes akward, sometimes useful, eg. a movie not seen does not advance
Implements org.hfbk.vis.visnode.VisNode.
Reimplemented in org.hfbk.vis.visnode.VisAudio, and org.hfbk.vis.visnode.VisSound.
Definition at line 34 of file Sound.java.
References org.hfbk.vis.visnode.VisNode.getRoot(), org.hfbk.vis.visnode.VisNode.position, org.hfbk.vis.visnode.Sound.source, and org.hfbk.vis.visnode.VisNode.traverse().
Here is the call graph for this function:
void org.hfbk.vis.visnode.Sound.trigger | ( | ) |
trigger sound
Definition at line 44 of file Sound.java.
Referenced by org.hfbk.vis.visnode.VisBit.state().
Here is the caller graph for this function:
void org.hfbk.vis.visnode.Sound.trigger | ( | boolean | looping | ) |
tigger sound
looping | if to play as loop |
Reimplemented in org.hfbk.vis.visnode.VisSound.
Definition at line 51 of file Sound.java.
References org.hfbk.vis.visnode.Sound.buffer, org.hfbk.vis.visnode.Sound.source, and org.hfbk.vis.visnode.Sound.wavfile.
void org.hfbk.vis.visnode.Sound.finalize | ( | ) | throws Throwable [protected] |
Definition at line 66 of file Sound.java.
References org.hfbk.vis.visnode.Sound.buffer, and org.hfbk.vis.visnode.Sound.source.
String org.hfbk.vis.visnode.Sound.wavfile [package] |
Definition at line 20 of file Sound.java.
Referenced by org.hfbk.vis.visnode.VisSound.trigger(), and org.hfbk.vis.visnode.Sound.trigger().
int org.hfbk.vis.visnode.Sound.source [package] |
Definition at line 21 of file Sound.java.
Referenced by org.hfbk.vis.visnode.Sound.finalize(), org.hfbk.vis.visnode.VisSound.renderSelf(), org.hfbk.vis.visnode.VisAudio.renderSelf(), org.hfbk.vis.visnode.Sound.renderSelf(), org.hfbk.vis.visnode.VisSound.trigger(), and org.hfbk.vis.visnode.Sound.trigger().
int org.hfbk.vis.visnode.Sound.buffer [package] |
Definition at line 21 of file Sound.java.
Referenced by org.hfbk.vis.visnode.Sound.finalize(), org.hfbk.vis.visnode.VisSound.trigger(), and org.hfbk.vis.visnode.Sound.trigger().