Main Page | Namespace List | Class Hierarchy | Class List | Directories | Namespace Members | Class Members

GATE_BASE Class Reference

Interface to gate effects. More...

Inheritance diagram for GATE_BASE:

CHAIN_OPERATOR OPERATOR DYNAMIC_OBJECT< SAMPLE_SPECS::sample_t > DYNAMIC_PARAMETERS< SAMPLE_SPECS::sample_t > ECA_OBJECT THRESHOLD_GATE TIME_CROP_GATE List of all members.

Public Member Functions

bool is_open (void) const
void init (SAMPLE_BUFFER *sbuf)
 Prepares chain operator for processing.
void process (void)
 Processes sample data in the buffer passed to init().
virtual void analyze (SAMPLE_BUFFER *sbuf)=0
virtual GATE_BASEclone (void) const =0
 Virtual method that clones the current object and returns a pointer to it.

Protected Member Functions

void close_gate (void)
void open_gate (void)

Detailed Description

Interface to gate effects.

Gate processes sample data, but doesn't modify it. Gate is either open or closed.


Member Function Documentation

virtual GATE_BASE* GATE_BASE::clone void   )  const [pure virtual]
 

Virtual method that clones the current object and returns a pointer to it.

This must be implemented by all subclasses!

Implements OPERATOR.

Implemented in TIME_CROP_GATE, and THRESHOLD_GATE.

void GATE_BASE::init SAMPLE_BUFFER sbuf  )  [virtual]
 

Prepares chain operator for processing.

Whenever attributes of the sample buffer pointed by 'sbuf' are changed, chain operator should be reinitialized with a new call to init().

Parameters:
sbuf pointer to a sample buffer object
See also:
release

Implements CHAIN_OPERATOR.


The documentation for this class was generated from the following files:
Generated on Fri Apr 8 01:38:01 2005 for libecasound by  doxygen 1.4.1