You need to decode both files to LPCM (plain old ints), add/mix them together then re-encode. The iPhone SDK does not support MP3 encoding, so you should re-encode to AAC.
The Apple sample code iPhoneExtAudioFileConvertTest would be a good place to start.
More Related Contents:
- Using the Apple FFT and Accelerate Framework
- Autoplay audio files on an iPad with HTML5
- Make movie file with picture Array and song file, using AVAsset
- Real-time Pitch Shifting on the iPhone
- Play alert sound (same as default message ringtone)
- How to reverse an audio file?
- Sound overlapping with multiple button presses
- Sound overlapping with multiple button presses
- Sound not working in iPhone Simulator?
- How to enable iPod controls in the background to control non-iPod music in iOS 4?
- Slow start for AVAudioPlayer the first time a sound is played
- iPhone audio playback: force through internal speaker?
- AVAudioPlayer with external URL to *.m4p
- How to disable phone number linking in Mobile Safari?
- Is it true that one should not use NSLog() on production code?
- Center text vertically in a UITextView
- Can I use CGAffineTransformMakeRotation to rotate a view more than 360 degrees?
- iPhone – Get Position of UIView within entire UIWindow
- Horizontal UITableView
- iTunes Connect Screenshots Sizes for all iOS (iPhone/iPad/Apple Watch) devices
- CSS submit button weird rendering on iPad/iPhone
- Responsive website on iPhone – unwanted white space on rotate from landscape to portrait
- Issue with iphone sdk 4.2.1
- How can you apply distortions to a UIImage using OpenGL ES?
- Can I localize a UIDatePicker?
- QLPreviewController remove or add UIBarButtonItems
- Include a resource directory hierarchy into app bundle
- Detect if headphones (not microphone) are plugged in to an iOS device [duplicate]
- NSURLConnection and grand central dispatch
- Can’t add a corner radius and a shadow