org.hfbk.vis.visnode.VisAudio Class Reference

Inheritance diagram for org.hfbk.vis.visnode.VisAudio:

Inheritance graph
Collaboration diagram for org.hfbk.vis.visnode.VisAudio:

Collaboration graph
List of all members.

Public Member Functions

 VisAudio (Node n, Vector3f pos)

Package Functions

void renderSelf ()

Package Attributes

VideoFetcher fetcher
String url
boolean playing = true
final int SAMPLE_STEP = 150
short[] samples
int ringpos = 0
final int RING_LENGTH = 100
final short[] ring = new short[RING_LENGTH]

Detailed Description

a visible sound source.


Definition at line 15 of file

Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisAudio.VisAudio ( Node  n,
Vector3f  pos 

Definition at line 36 of file

References org.hfbk.vis.visnode.VisAudio.fetcher, and org.dronus.graph.Node.text.

Member Function Documentation

void org.hfbk.vis.visnode.VisAudio.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

Reimplemented from org.hfbk.vis.visnode.Sound.

Definition at line 43 of file

References org.hfbk.vis.visnode.VisAudio.fetcher, org.hfbk.vid.AVStreamingThread.getAudioSource(), org.hfbk.vis.visnode.VisAudio.ring, org.hfbk.vis.visnode.VisAudio.RING_LENGTH, org.hfbk.vis.visnode.VisAudio.ringpos, org.hfbk.vis.visnode.Sound.source, org.hfbk.vid.AVStreamingThread.start(), and org.hfbk.vid.VideoFetcher.streamer.

Here is the call graph for this function:

Member Data Documentation

VideoFetcher org.hfbk.vis.visnode.VisAudio.fetcher [package]

Definition at line 18 of file

Referenced by org.hfbk.vis.visnode.VisAudio.renderSelf(), and org.hfbk.vis.visnode.VisAudio.VisAudio().

String org.hfbk.vis.visnode.VisAudio.url [package]

a related url. this is akward for this abstract class but currently most of VisNodes uses an url in some kind, we can process it more conveniently if defined in superclass.

Reimplemented from org.hfbk.vis.visnode.VisNode.

Definition at line 19 of file

boolean org.hfbk.vis.visnode.VisAudio.playing = true [package]

if aiudio is playing

Definition at line 23 of file

final int org.hfbk.vis.visnode.VisAudio.SAMPLE_STEP = 150 [package]

Definition at line 28 of file

short [] org.hfbk.vis.visnode.VisAudio.samples [package]

Definition at line 29 of file

int org.hfbk.vis.visnode.VisAudio.ringpos = 0 [package]

Definition at line 31 of file

Referenced by org.hfbk.vis.visnode.VisAudio.renderSelf().

final int org.hfbk.vis.visnode.VisAudio.RING_LENGTH = 100 [package]

Definition at line 32 of file

Referenced by org.hfbk.vis.visnode.VisAudio.renderSelf().

final short [] org.hfbk.vis.visnode.VisAudio.ring = new short[RING_LENGTH] [package]

Definition at line 34 of file

Referenced by org.hfbk.vis.visnode.VisAudio.renderSelf().

The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:58:53 2009 for visclient by  doxygen 1.5.1