cocoa - Audio queue and EXC_BAD_ACCESS -
cocoa - Audio queue and EXC_BAD_ACCESS -
this code generating noise using sound queue:
http://pastebin.com/kn8gu72j
the problem code generates exc_bad_access. problem seems in assignment
maaudiomanager *audiomngr = (__bridge maaudiomanager *) inuserdata;
in callback routine. suspect related access thread of class maaudiomanager.
any idea?
is there elsewhere in programme retains maaudiomanager
instance? looks it's been dealloc'd time callback gets called.
cocoa core-audio audioqueue
Comments
Post a Comment