if you couldn’t succeed in reusing system sounds, try this: start the MIDI audio setup and then configure your “built-in output” to use 44.100Hz, 2 channels, 24 bits. (from http://www.cocos2d-iphone.org/forum/topic/4159 )
somehow in a few days, my iphone simulator now wants 48.000 Hz, 2 channels, 24 bits. just play with it a little and be careful so that it can accidentally change when you plug in the headphones, in standby mode, restart, etc.
and it’s not recommended here: if you connect the headphones to your iphone / ipad, the buffer size can double (for example, from 512 to 1024 bytes), make sure that you do not rely on the buffering that you requested!
kritzikratzi Jun 12 '10 at 21:26 2010-06-12 21:26
source share