Code Monkey home page Code Monkey logo

Comments (5)

tonioloewald avatar tonioloewald commented on July 26, 2024

Worst case you could probably allow a "SetupGraph" block to be passed when it's set up. Indeed, this is how I'd handle a lot of the customization (if you pass nil or use the call that doesn't require such a block, the default setup is used).

E.g. right now if there's no mike you show a UIAlert. It would be great to be able to pass an error-handling block (or and event-handling block). This makes the API uniformly modern, and it's as simple to use as you want it to be.

from novocaine.

alexbw avatar alexbw commented on July 26, 2024

Having an event-handling block makes a lot of sense. I suppose I'd take the current error-handling code and encapsulate it in a block, and make it a default. The user could swap out the eventHandlerBlock to do their own crazy stuff.

On Apr 5, 2012, at 4:29 PM, Tonio Loewald wrote:

Worst case you could probably allow a "SetupGraph" block to be passed when it's set up. Indeed, this is how I'd handle a lot of the customization (if you pass nil or use the call that doesn't require such a block, the default setup is used).

E.g. right now if there's no mike you show a UIAlert. It would be great to be able to pass an error-handling block (or and event-handling block). This makes the API uniformly modern, and it's as simple to use as you want it to be.


Reply to this email directly or view it on GitHub:
#5 (comment)

from novocaine.

tonioloewald avatar tonioloewald commented on July 26, 2024

Exactly! Although perhaps you might want to add onto rather than replace default behavior.

from novocaine.

alexbw avatar alexbw commented on July 26, 2024

I had dreams, so many dreams

from novocaine.

akumpf avatar akumpf commented on July 26, 2024

Just saw this post from a couple years ago.

I just opened another issue (#82) specifically looking at how to add an AudioUnit to the audio path. Any progress/thoughts?

from novocaine.

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.