-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory access violation if all I do is: "mNVAudioManager = [Novocaine audioManager]" #32
Comments
I got around this by changing the first line of novocaine::inputCallback() and novocaine::outputCallback() functions as follows: 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. |
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:
|
iTouch4. The Simulator gives the -50 output error. 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. |
The only thing I do with Novocaine in my current iOS project is:
mNVAudioManager = [Novocaine audioManager];"
I have commented out all other code that would try to use the audio manager / novocaine functions.
It crashes with a memory access violation in novocaine::inputCallback(), on the second line:
if( !sm.playing ) <-- memory access violation
I am using ARC. Disabled ARC for all Novocaine files. .mm file extensions for files using Novocaine.
Compiler set to ObjectiveC++.
No compiler errors or warnings.
The text was updated successfully, but these errors were encountered: