Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.0

Posted: 2009-04-15

Build Requirements: Mac OS X v10.6 or later

Runtime Requirements: Mac OS X v10.6 or later

View Source Code:

Download Sample Code (“AudioFileStreamExample.zip”, 9.5K)



Description

The AudioFileStreamExample project provides two targets, a client that receives the streamed data and parses it for the appropriate audio file properties and data, and a server that opens an AudioFile for read and sends the raw bytes over a specified port. The example shows how to utilize the AudioFileStream callback mechanisms to received and process the data provided by the server, and plays the audio data using the AudioQueue API.

Document Revision History

Date Notes
2009-04-15Provides an example client and server for streaming audio via the AudioFileStream API
Did this document help you? Yes It's good, but... Not helpful...