ios-samples/AudioConverterFileConverter
Paola Villarreal 2592d1e2c2 AQTapDemo/ AUSoundTriggeredPlayingSoundMemoryBased/ AVCaptureFrames/ AudioConverterFileConverter/ AudioGenerator/ AudioQueueOfflineRenderDemo/ compile but crash, Related to AudioUnit, AVFoundation 2014-05-21 11:34:03 -05:00
..
Resources [AudioConverterFileConverter] Updating sample for iOS, adding app icons and screenshots 2013-10-21 15:01:43 +01:00
Screenshots [AudioConverterFileConverter] Updating sample for iOS, adding app icons and screenshots 2013-10-21 15:01:43 +01:00
AppDelegate.cs AQTapDemo/ AUSoundTriggeredPlayingSoundMemoryBased/ AVCaptureFrames/ AudioConverterFileConverter/ AudioGenerator/ AudioQueueOfflineRenderDemo/ compile but crash, Related to AudioUnit, AVFoundation 2014-05-21 11:34:03 -05:00
AudioConverterFileConverter.csproj AQTapDemo/ AUSoundTriggeredPlayingSoundMemoryBased/ AVCaptureFrames/ AudioConverterFileConverter/ AudioGenerator/ AudioQueueOfflineRenderDemo/ compile but crash, Related to AudioUnit, AVFoundation 2014-05-21 11:34:03 -05:00
AudioConverterFileConverter.sln Add AudioConverterFileConverter sample 2013-01-27 11:15:53 +01:00
AudioConverterFileConverterViewController.cs AQTapDemo/ AUSoundTriggeredPlayingSoundMemoryBased/ AVCaptureFrames/ AudioConverterFileConverter/ AudioGenerator/ AudioQueueOfflineRenderDemo/ compile but crash, Related to AudioUnit, AVFoundation 2014-05-21 11:34:03 -05:00
AudioConverterFileConverterViewController.designer.cs AQTapDemo/ AUSoundTriggeredPlayingSoundMemoryBased/ AVCaptureFrames/ AudioConverterFileConverter/ AudioGenerator/ AudioQueueOfflineRenderDemo/ compile but crash, Related to AudioUnit, AVFoundation 2014-05-21 11:34:03 -05:00
Info.plist [AudioConverterFileConverter] Updating sample for iOS, adding app icons and screenshots 2013-10-21 15:01:43 +01:00
Main.cs AQTapDemo/ AUSoundTriggeredPlayingSoundMemoryBased/ AVCaptureFrames/ AudioConverterFileConverter/ AudioGenerator/ AudioQueueOfflineRenderDemo/ compile but crash, Related to AudioUnit, AVFoundation 2014-05-21 11:34:03 -05:00
MainStoryboard.storyboard [AudioConverterFileConverter] Updating sample for iOS, adding app icons and screenshots 2013-10-21 15:01:43 +01:00
Metadata.xml Added gallery opt-in to metadata 2014-02-20 10:22:07 -05:00
README.md updated README to reflect compatibility with Xcode 2013-12-11 15:50:08 +00:00
iTunesArtwork [AudioConverterFileConverter] Updating sample for iOS, adding app icons and screenshots 2013-10-21 15:01:43 +01:00
iTunesArtwork@2x [AudioConverterFileConverter] Updating sample for iOS, adding app icons and screenshots 2013-10-21 15:01:43 +01:00

README.md

Audio Converter File Converter Demo

This sample demonstrates the use of the Audio Converter API to convert from a PCM audio format in an AIF file to a compressed format in a CAF file and will support AAC encode on appropriate hardware such as the iPhone 3GS.

Touching the "Convert" button calls the method DoConvertFile() producing an output.caf file using the encoding and sample rate chosen in the UI.

The output.caf file is then played back after conversion using AVAudioPlayer to confirm success and Audio format information for both the source and output file is displayed.

Interruption handling during audio processing (conversion) is also demonstrated.

Audio converter objects convert between various linear PCM audio formats. They can also convert between linear PCM and compressed formats.

Supported transformations include the following:

  • PCM bit depth<
  • PCM sample rate
  • PCM fixed point to and from PCM integer
  • PCM interleaved to and from PCM deinterleaved
  • PCM to and from compressed formats<

**NOTE: This sample will only work with Xcode 5.0 or above.

Resources

This is port of Apple's iPhoneACFileConvertTest sample

https://developer.apple.com/library/ios/#samplecode/iPhoneACFileConvertTest/Introduction/Intro.html