To avoid latency issues, you will have to work at a lower level than AVFoundation alright. Check out this sample code from Apple – Auriotouch. It uses Remote I/O.
More Related Contents:
- How do I record audio on iPhone with AVAudioRecorder?
- How can I record a conversation / phone call on iOS?
- How to programmatically sense the iPhone mute switch?
- How to play audio in background with Swift?
- How to handle background audio playing while iOS device is locked or on another application?
- Playing a sound with AVAudioPlayer
- How to get audio volume level, and volume changed notifications on iOS?
- Get System Volume iOS
- iOS background audio not playing
- Play a short sound in iOS
- Creating and playing a sound in swift
- Record audio and save permanently in iOS
- Sprite Kit & playing sound leads to app termination
- How to detect iphone is on silent mode
- how to find Bluetooth audio devices in iOS
- iOS Audio Trimming
- Loop background music? [closed]
- Is there a public way to force MPNowPlayingInfoCenter to show podcast controls?
- AVPlayer stops playing and doesn’t resume again
- How to programmatically use iOS voice synthesizers? (text to speech)
- How to add playable(such as wav,wmv) header with PCM data/buffer in iOS?
- How can I know users click fast forward and fast rewind buttons on the playback controls in iPhone
- Using existing system sounds in iOS App [swift|
- reloadData() of UITableView with Dynamic cell heights causes jumpy scrolling
- UINavigationBar Hide back Button Text
- How to create IPA in Xcode 6?
- Checking for multiple asynchronous responses from Alamofire and Swift
- CocoaPods could not find compatible versions for pod “Firebase/Core” | cloud_firestore, Flutter
- iOS 11 large-title navigation bar not collapsing
- Xcode 7 supporting watch OS1 and OS2