Converter between .amr and .wav file
- iOS 8.0+
- Xcode 7.3 or above
Specify your Podfile
:
pod 'NTYAmrConverter', '~> 0.1'
Specify your Cartfile
:
github "ninty90/NTYAmrConverter" ~> 0.1
In your swift project, use like this:
import NTYAmrConverter
// encode wav to amr
NTYAmrCoder.encodeWavFile(wavPath, toAmrFile: amrPath)
// decode amr to wav
NTYAmrCoder.decodeAmrFile(amrPath, toWavFile: convertedWavPath)
You can find the full API documentation at CocoaDocs.
NTYAmrConverter is released under the MIT license. See LICENSE for details.