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

« back to all changes in this revision

Viewing changes to intern/audaspace/FX/AUD_LimiterFactory.cpp

  • 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:
31
31
#include "AUD_LimiterReader.h"
32
32
#include "AUD_Space.h"
33
33
 
34
 
AUD_LimiterFactory::AUD_LimiterFactory(AUD_Reference<AUD_IFactory> factory,
 
34
AUD_LimiterFactory::AUD_LimiterFactory(boost::shared_ptr<AUD_IFactory> factory,
35
35
                                                                           float start, float end) :
36
36
                AUD_EffectFactory(factory),
37
37
                m_start(start),
49
49
        return m_end;
50
50
}
51
51
 
52
 
AUD_Reference<AUD_IReader> AUD_LimiterFactory::createReader()
 
52
boost::shared_ptr<AUD_IReader> AUD_LimiterFactory::createReader()
53
53
{
54
 
        return new AUD_LimiterReader(getReader(), m_start, m_end);
 
54
        return boost::shared_ptr<AUD_IReader>(new AUD_LimiterReader(getReader(), m_start, m_end));
55
55
}