ios-samples/AudioConverterFileConverter
olegoid 58c5e8c813 Add brief description tag to metadata.xml 2015-03-23 18:03:04 +03: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 [AudioConverterFileConverter] Fixed setting the right category 2015-01-22 15:20:46 -06:00
AudioConverterFileConverter.csproj Pull from upstream 2015-01-19 20:39:40 +05:30
AudioConverterFileConverter.sln Add AudioConverterFileConverter sample 2013-01-27 11:15:53 +01:00
AudioConverterFileConverterViewController.cs [AudioConverterFileConverter] Don't complain about not getting any packet descriptions when none were read. Fixes bug #21940 comment 20. 2015-02-04 15:24:07 +01:00
AudioConverterFileConverterViewController.designer.cs Pull from upstream 2015-01-19 20:39:40 +05:30
Info.plist Pull from upstream 2015-01-19 20:39:40 +05:30
Main.cs Pull from upstream 2015-01-19 20:39:40 +05:30
MainStoryboard.storyboard [AudioConverterFileConverter] Updating sample for iOS, adding app icons and screenshots 2013-10-21 15:01:43 +01:00
Metadata.xml Add brief description tag to metadata.xml 2015-03-23 18:03:04 +03: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