diff options
Diffstat (limited to 'intern/audaspace/SRC/AUD_SRCResampleFactory.cpp')
-rw-r--r-- | intern/audaspace/SRC/AUD_SRCResampleFactory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/audaspace/SRC/AUD_SRCResampleFactory.cpp b/intern/audaspace/SRC/AUD_SRCResampleFactory.cpp index 17cf09efc1d..ca9c71e73b8 100644 --- a/intern/audaspace/SRC/AUD_SRCResampleFactory.cpp +++ b/intern/audaspace/SRC/AUD_SRCResampleFactory.cpp @@ -32,15 +32,15 @@ #include "AUD_SRCResampleFactory.h" #include "AUD_SRCResampleReader.h" -AUD_SRCResampleFactory::AUD_SRCResampleFactory(AUD_IFactory* factory, +AUD_SRCResampleFactory::AUD_SRCResampleFactory(AUD_Reference<AUD_IFactory> factory, AUD_DeviceSpecs specs) : AUD_ResampleFactory(factory, specs) { } -AUD_IReader* AUD_SRCResampleFactory::createReader() const +AUD_Reference<AUD_IReader> AUD_SRCResampleFactory::createReader() const { - AUD_IReader* reader = getReader(); + AUD_Reference<AUD_IReader> reader = getReader(); if(reader->getSpecs().rate != m_specs.rate) reader = new AUD_SRCResampleReader(reader, m_specs.specs); |