ios-samples/StreamingAudio
Marek Safar 7669f3df0c Fix compilation with newer compiler 2013-02-01 18:41:51 +01:00
..
Resources add new resources 2012-12-20 14:20:14 -05:00
Screenshots Added some screenshots from flickr links in the README.md files. 2011-09-29 11:40:52 +02:00
Info.plist add new resources 2012-12-20 14:20:14 -05:00
Main.cs Fix compilation with newer compiler 2013-02-01 18:41:51 +01: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 add new resources 2012-12-20 14:20:14 -05: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