ios-samples/AudioConverterFileConverter
docs bd0aafde50
Update README.md
2019-10-23 09:59:32 -07: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 Switched to 64-bit only builds. 2018-08-07 14:13:47 +01:00
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 Updated architecture setting to 32&64 bit, and specified iOS 9 as minimum SDK version. 2017-07-19 13:27:52 +01:00
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 Update README.md 2019-10-23 09:59:32 -07: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

name description page_type languages products urlFragment
Xamarin.iOS - Audio Converter File Converter 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... sample
csharp
xamarin
audioconverterfileconverter

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<

Source

This is port of Apple's iPhoneACFileConvertTest sample

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