~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to intern/audaspace/FX/AUD_LowpassCalculator.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef AUD_LOWPASSCALCULATOR_H
 
2
#define AUD_LOWPASSCALCULATOR_H
 
3
 
 
4
#include "AUD_IDynamicIIRFilterCalculator.h"
 
5
 
 
6
class AUD_LowpassCalculator : public AUD_IDynamicIIRFilterCalculator
 
7
{
 
8
private:
 
9
        /**
 
10
         * The cutoff frequency.
 
11
         */
 
12
        const float m_frequency;
 
13
 
 
14
        /**
 
15
         * The Q factor.
 
16
         */
 
17
        const float m_Q;
 
18
 
 
19
public:
 
20
        AUD_LowpassCalculator(float frequency, float Q);
 
21
 
 
22
        virtual void recalculateCoefficients(AUD_SampleRate rate, std::vector<float> &b, std::vector<float> &a);
 
23
};
 
24
 
 
25
#endif // AUD_LOWPASSCALCULATOR_H