Giter Site home page Giter Site logo

Comments (5)

olilarkin avatar olilarkin commented on May 29, 2024

could you be more specific?

from iplug2.

olilarkin avatar olilarkin commented on May 29, 2024

When the app gets terminated all memory is freed by the os, dealloc etc is bypassed. If you needed the ability to unload the audiounit, then that could be added to a customised IPlugAUPlayer. Hopefully the dealloc in IPlugAudioUnit would be called then. I tried the AUv3 in AUM and dealloc is called when the plugin is unloaded.

from iplug2.

AlexHarker avatar AlexHarker commented on May 29, 2024

Yes - I'm not worried about memory allocation here - I was using the app wrapper and saving some settings on quit, which is fine on desktop, but not on IOS as an app - for now I'm doing that elsewhere (which is arguably a better pattern), but importantly if anyone is assuming that whatever is constructed will get a call to the destructor then that isn't true.

Glad it works correctly in AuM - this is probably non-urgent, but my assumption was that my settings would get saved when I quit the app, but that wasn't the case.

from iplug2.

olilarkin avatar olilarkin commented on May 29, 2024

A common thing to do on iOS is to write to the App's userdefaults. I am currently working on persisting stuff there

from iplug2.

olilarkin avatar olilarkin commented on May 29, 2024

probably including the last plugin state

from iplug2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.