Jamoma API  0.6.0.a19
TTCount Class Reference

TTCount counts the number of samples processed so far. More...

#include <TTCount.h>

+ Inheritance diagram for TTCount:
+ Collaboration diagram for TTCount:

Protected Member Functions

TTErr processAudio (TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
 Process method. More...
 
TTErr reset ()
 Start counting from zero again. More...
 

Protected Attributes

TTFloat64 count
 Sample count.
 

Detailed Description

TTCount counts the number of samples processed so far.

Definition at line 25 of file TTCount.h.

Member Function Documentation

TTErr TTCount::processAudio ( TTAudioSignalArrayPtr  inputs,
TTAudioSignalArrayPtr  outputs 
)
protected

Process method.

Parameters
inputsSignal input vectors to process
outputsProcessed audio
Returns
TTErr error code if the method fails to execute, else kTTErrNone.

Definition at line 44 of file TTCount.cpp.

References count, kTTErrNone, and TTAudioSignal::mSampleVectors.

TTErr TTCount::reset ( )
protected

Start counting from zero again.

Returns
TTErr error code if the method fails to execute, else kTTErrNone.

Definition at line 37 of file TTCount.cpp.

References count, and kTTErrNone.


The documentation for this class was generated from the following files: