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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -