Blender  V2.59
Public Member Functions
AUD_LowpassFactory Class Reference

#include <AUD_LowpassFactory.h>

Inheritance diagram for AUD_LowpassFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_LowpassFactory (AUD_IFactory *factory, float frequency, float Q=1.0f)
virtual AUD_IReadercreateReader () const

Detailed Description

This factory creates a lowpass filter reader.

Definition at line 40 of file AUD_LowpassFactory.h.


Constructor & Destructor Documentation

AUD_LowpassFactory::AUD_LowpassFactory ( AUD_IFactory factory,
float  frequency,
float  Q = 1.0f 
)

Creates a new lowpass factory.

Parameters:
factoryThe input factory.
frequencyThe cutoff frequency.
QThe Q factor.

Definition at line 41 of file AUD_LowpassFactory.cpp.


Member Function Documentation

AUD_IReader * AUD_LowpassFactory::createReader ( ) const [virtual]

Creates a reader for playback of the sound source.

Returns:
A pointer to an AUD_IReader object or NULL if there has been an error.
Exceptions:
AUD_ExceptionAn exception may be thrown if there has been a more unexpected error during reader creation.

Implements AUD_IFactory.

Definition at line 49 of file AUD_LowpassFactory.cpp.

References cos(), AUD_EffectFactory::getReader(), AUD_IReader::getSpecs(), M_PI, norm(), AUD_Specs::rate, and sin().


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