Amp Class Reference

Please document me. More...

#include <Amp.h>

Inheritance diagram for Amp:

Inheritance graph
[legend]
Collaboration diagram for Amp:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Amp ()
void SetAmplitude (float amp)
 ~Amp ()

Protected Member Functions

void Process (jack_nframes_t count)

Private Attributes

float m_amplitude


Detailed Description

Please document me.

Definition at line 14 of file Amp.h.


Constructor & Destructor Documentation

Amp::Amp (  ) 

Definition at line 3 of file Amp.cpp.

00003          : m_amplitude(1)
00004 {
00005 }

Amp::~Amp (  ) 

Definition at line 7 of file Amp.cpp.

00008 {
00009 }


Member Function Documentation

void Amp::Process ( jack_nframes_t  count  )  [protected, virtual]

Reimplemented from ISoundElement.

Definition at line 18 of file Amp.cpp.

References ISoundElement::GetParameter(), ISoundElement::GetPipe(), and m_amplitude.

00019 {
00020     ISoundElement::Process(count);
00021     try {
00022         GetPipe() *= GetParameter("amplitude")->GetPipe();
00023     }
00024     catch (...) {}
00025     GetPipe() *= m_amplitude;
00026 }

void Amp::SetAmplitude ( float  amp  ) 

Definition at line 11 of file Amp.cpp.

References m_amplitude.

Referenced by BOOST_PYTHON_MODULE().

00012 {
00013     Lock l(this);
00014     cout << "Amplitude at " << amp << endl;
00015     m_amplitude = amp;
00016 }


Member Data Documentation

float Amp::m_amplitude [private]

Definition at line 31 of file Amp.h.

Referenced by Process(), and SetAmplitude().


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

Get JackFX at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated for JackFX by  doxygen