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

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

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