New sample app posted: MixerHost
New sample app posted: MixerHost
- Subject: New sample app posted: MixerHost
- From: Murray Jason <email@hidden>
- Date: Wed, 28 Jul 2010 17:01:05 -0700
Hi all,
The MixerHost app <http://developer.apple.com/iphone/library/samplecode/MixerHost/Introduction/Intro.html> demonstrates how to use the Multichannel Mixer audio unit in an iOS application to mix two sounds. It also demonstrates other interesting stuff. From the ReadMe: This sample shows how to: * Write an input render callback function * Locate system audio units at runtime and then load, instantiate, configure, and connect them * Correctly use audio stream formats in the context of an audio processing graph * Instantiate, open, initialize, and start an audio processing graph * Control a Multichannel Mixer unit through a user interface This sample also shows how to: * Configure an audio application for playing in the background by adding the "app plays audio" key to the info.plist file * Use the AVAudioSession class to configure audio behavior, set hardware sample rate, and handle interruptions * Make the app eligible for its audio session to be reactivated while in the background * Respond to remote-control events as described in Event Handling Guide for iOS * Allocate memory for an AudioBufferList struct so that it can handle more than one channel of audio * Use the C interface from Audio Session Services to handle audio hardware route changes * Use Cocoa notifications to communicate state changes from the audio object back to the controller object Please provide feedback on the sample by way of http://bugreporter.apple.com or on this list. Thanks! -murray
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden