Code Monkey home page Code Monkey logo

Comments (3)

casbreuk avatar casbreuk commented on July 26, 2024

I got around this by changing the first line of novocaine::inputCallback() and novocaine::outputCallback() functions as follows:
Novocaine *sm = [Novocaine audioManager]; //(Novocaine *)inRefCon;

It seems like the inRefCon pointer was ... forgotten. Some of the other parameters still look correct - not sure about the data though. I get this weird super high pitched warbling sound playing all the time, now.

from novocaine.

alexbw avatar alexbw commented on July 26, 2024

Whoa, that sounds totally weird. I've never ever seen that before. What device are you using?

On Aug 24, 2012, at 2:39 PM, Corey wrote:

I got around this by changing the first line of novocaine::inputCallback() and novocaine::outputCallback() functions as follows:
Novocaine *sm = [Novocaine audioManager]; //(Novocaine *)inRefCon;

It seems like the inRefCon pointer was ... forgotten. Some of the other parameters still look correct - not sure about the data though. I get this weird super high pitched warbling sound playing all the time, now.


Reply to this email directly or view it on GitHub.

from novocaine.

casbreuk avatar casbreuk commented on July 26, 2024

iTouch4. The Simulator gives the -50 output error.
I discovered the root of the issue though - I must have inadvertently changed something when going through the first time to fix compiler warnings. I thought I had undone every change I had made to the file after adding the flags to disable arc and changing the compiler to ObjC++. I reverted the novocaine.m file, and it runs fine now.

Still having the weird feedback issue though - listening with the mic makes a lot of very high pitched loud noise (like speaker/mic feedback). I'll probably just have to play with the in/out blocks to see what is going on.

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.