A note about AudioQueueNewOutput

Feb 23, 2009 22:32

Just a note about AudioQueueNewOutput: If you call this function from within the iPhone simulator, and pass to it an MP3 file, it will lock up your program (without providing a backtrace.) This is supremely annoying. Partly because of the lockup, but also because it means that as of now, my program can't accurately be simulated.

Leave a comment

Comments 4

sirtwist February 25 2009, 04:35:23 UTC
does it work on the real thing? If so, that's a real pain.

Reply

aldren February 25 2009, 04:42:37 UTC
Yeah, it works on the real thing. I just surrounded the call in an #if !TARGET_IPHONE_SIMULATOR. It works, it'll just be silent in the simulator.

Reply

sirtwist February 25 2009, 04:58:58 UTC
Still a pain though. That's an Apple standard function?

Reply

aldren February 25 2009, 05:00:38 UTC
Looks like it's part of Core Audio, so yeah. It also exists on OS X, so I'm not sure what could be causing the problem.

Reply


Leave a comment

Up