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

« back to all changes in this revision

Viewing changes to intern/audaspace/FX/AUD_RectifyFactory.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:
37
37
        return fabs(reader->x(0));
38
38
}
39
39
 
40
 
AUD_RectifyFactory::AUD_RectifyFactory(AUD_Reference<AUD_IFactory> factory) :
 
40
AUD_RectifyFactory::AUD_RectifyFactory(boost::shared_ptr<AUD_IFactory> factory) :
41
41
                AUD_EffectFactory(factory)
42
42
{
43
43
}
44
44
 
45
 
AUD_Reference<AUD_IReader> AUD_RectifyFactory::createReader()
 
45
boost::shared_ptr<AUD_IReader> AUD_RectifyFactory::createReader()
46
46
{
47
 
        return new AUD_CallbackIIRFilterReader(getReader(), 1, 1, rectifyFilter);
 
47
        return boost::shared_ptr<AUD_IReader>(new AUD_CallbackIIRFilterReader(getReader(), 1, 1, rectifyFilter));
48
48
}