Noatun API Documentation

StereoScope Class Reference

#include <plugin.h>

Inheritance diagram for StereoScope:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 StereoScope (int timeout=250, int pid=0)
virtual ~StereoScope ()
virtual void scopeEvent (float *left, float *right, int len)
void scopeData (std::vector< float > *&left, std::vector< float > *&right)
virtual void timeout ()
virtual int samples () const
virtual void setSamples (int)

Constructor & Destructor Documentation

StereoScope::StereoScope int  timeout = 250,
int  pid = 0
 

virtual StereoScope::~StereoScope  )  [virtual]
 


Member Function Documentation

virtual int StereoScope::samples  )  const [virtual]
 

the "width" of each scopeEvent

Implements Scope.

void StereoScope::scopeData std::vector< float > *&  left,
std::vector< float > *&  right
 

get the current data pass a vector<float>*, this will do the rest. do not allocate it beforehand. you must then delete the vectors

Returns:
the amount of elements for both left and right

virtual void StereoScope::scopeEvent float *  left,
float *  right,
int  len
[inline, virtual]
 

called according to the timeout the float contains the data, with len items you override this yourself, and process the data

Definition at line 324 of file plugin.h.

virtual void StereoScope::setSamples int   )  [virtual]
 

Implements Scope.

virtual void StereoScope::timeout  )  [virtual]
 

reimplemented from class Visualization, you should never need to reimplement this yourself

Implements Visualization.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for Noatun 2.6.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 22 00:20:37 2004 by doxygen 1.3.8-20040913 written by Dimitri van Heesch, © 1997-2003