diff options
Diffstat (limited to 'intern/audaspace/FX/AUD_HighpassFactory.cpp')
-rw-r--r-- | intern/audaspace/FX/AUD_HighpassFactory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/audaspace/FX/AUD_HighpassFactory.cpp b/intern/audaspace/FX/AUD_HighpassFactory.cpp index 61008eea44e..b8bfa6545ac 100644 --- a/intern/audaspace/FX/AUD_HighpassFactory.cpp +++ b/intern/audaspace/FX/AUD_HighpassFactory.cpp @@ -38,7 +38,7 @@ #define M_PI 3.14159265358979323846 #endif -AUD_HighpassFactory::AUD_HighpassFactory(AUD_IFactory* factory, float frequency, +AUD_HighpassFactory::AUD_HighpassFactory(AUD_Reference<AUD_IFactory> factory, float frequency, float Q) : AUD_EffectFactory(factory), m_frequency(frequency), @@ -46,9 +46,9 @@ AUD_HighpassFactory::AUD_HighpassFactory(AUD_IFactory* factory, float frequency, { } -AUD_IReader* AUD_HighpassFactory::createReader() const +AUD_Reference<AUD_IReader> AUD_HighpassFactory::createReader() const { - AUD_IReader* reader = getReader(); + AUD_Reference<AUD_IReader> reader = getReader(); // calculate coefficients float w0 = 2 * M_PI * m_frequency / reader->getSpecs().rate; |