Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
Resources
Screenshots
AppDelegate.cs
Entitlements.plist
ErrorArg.cs
Info.plist
Main.cs
MainViewController.cs
MainViewController.designer.cs
MainViewController.xib
Metadata.xml
PlayerViewController.cs
PlayerViewController.designer.cs
PlayerViewController.xib
QueueStream.cs
README.md
StreamingAudio.csproj
StreamingAudio.sln
StreamingPlayback.cs
iTunesArtwork
iTunesArtwork@2x

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

Something went wrong with that request. Please try again.