This sample demonstrates how to get audio input from the microphone in a Silverlight for Windows Phone application by using the Microsoft.Xna.Framework.Audio.Microphone class. It also shows how to play audio by using the SoundEffect and SoundEffectInstance classes. The code monitors audio playback on a separate thread and updates the user interface when the sound stops playing. For more information about accessing the microphone in a Silverlight application, see How to: Access the Microphone in a Silverlight Application for Windows Phone.

var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/