diff options
author | Joerg Mueller <nexyon@gmail.com> | 2011-06-04 03:28:57 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2011-06-04 03:28:57 +0400 |
commit | d1c542ce0551f6ec3408b7c6689ad17b0a14e8d2 (patch) | |
tree | 4d4ca1da42cee6db71b3515f7330aa0fffdb6d70 /intern/audaspace/FX/AUD_FaderFactory.cpp | |
parent | cd04cff1800e8f60a06d8da6e79ac436808c9a7d (diff) |
3D Audio GSoC:
Memory management improvements.
Diffstat (limited to 'intern/audaspace/FX/AUD_FaderFactory.cpp')
-rw-r--r-- | intern/audaspace/FX/AUD_FaderFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/audaspace/FX/AUD_FaderFactory.cpp b/intern/audaspace/FX/AUD_FaderFactory.cpp index d887e9e68d9..e7fe5098d76 100644 --- a/intern/audaspace/FX/AUD_FaderFactory.cpp +++ b/intern/audaspace/FX/AUD_FaderFactory.cpp @@ -32,7 +32,7 @@ #include "AUD_FaderFactory.h" #include "AUD_FaderReader.h" -AUD_FaderFactory::AUD_FaderFactory(AUD_IFactory* factory, AUD_FadeType type, +AUD_FaderFactory::AUD_FaderFactory(AUD_Reference<AUD_IFactory> factory, AUD_FadeType type, float start, float length) : AUD_EffectFactory(factory), m_type(type), @@ -56,7 +56,7 @@ float AUD_FaderFactory::getLength() const return m_length; } -AUD_IReader* AUD_FaderFactory::createReader() const +AUD_Reference<AUD_IReader> AUD_FaderFactory::createReader() const { return new AUD_FaderReader(getReader(), m_type, m_start, m_length); } |