ios-samples/StreamingAudio
Miguel de Icaza 75d163b3af Added README.md and Metadata.xml to CoreMidi sample 2012-03-22 16:42:38 -04:00
..
Screenshots Added some screenshots from flickr links in the README.md files. 2011-09-29 11:40:52 +02:00
Info.plist Convert more samples to Xcode 4. 2011-09-27 14:42:11 +02:00
Main.cs Add support to StreamingAudio to report the underlying stream timestamp + fix Stream+Save case + Upgrade to Xcode 4 style project 2012-01-31 12:22:37 -05:00
MainWindow.xib Add support to StreamingAudio to report the underlying stream timestamp + fix Stream+Save case + Upgrade to Xcode 4 style project 2012-01-31 12:22:37 -05:00
MainWindow.xib.designer.cs Add support to StreamingAudio to report the underlying stream timestamp + fix Stream+Save case + Upgrade to Xcode 4 style project 2012-01-31 12:22:37 -05:00
Metadata.xml Added README.md and Metadata.xml to CoreMidi sample 2012-03-22 16:42:38 -04:00
README.md README.md fixications. 2011-11-16 14:23:44 +01:00
Storage.cs Add support to StreamingAudio to report the underlying stream timestamp + fix Stream+Save case + Upgrade to Xcode 4 style project 2012-01-31 12:22:37 -05:00
StreamingAudio.csproj Fixes for the samples: 2011-10-04 12:51:34 -04:00
StreamingAudio.sln Fixes for the samples: 2011-10-04 12:51:34 -04:00
StreamingPlayback.cs Add support to StreamingAudio to report the underlying stream timestamp + fix Stream+Save case + Upgrade to Xcode 4 style project 2012-01-31 12:22:37 -05:00

README.md

Streaming Audio

This sample illustrates how to use AudioToolbox's AudioFileStream to parse an audio stream progressively and play the audio back.

The audio is a creative commons MP3 file that is downloaded from a website using Mono's HTTP stack.

There are two samples:

  • One plays as it streams, and does not attempt to buffer more than the audio buffers that are used for AudioToolbox.

  • The second sample shows how to save a copy of the data as it is being downloaded (for example, a podcasting application would stream audio and retain a copy).

Preview

iPhone running Streaming Audio sample

Authors

Miguel de Icaza