This topic has not yet been rated - Rate this topic

Microphone.GetData Method

Gets the latest recorded data from the microphone.
Name Description
Microphone.GetData (Byte[]) Gets the latest recorded data from the microphone based on the audio capture buffer.
Microphone.GetData (Byte[], Int32, Int32) Gets the latest captured audio data from the microphone based on the specified offset and byte count.

Silverlight applications must ensure that FrameworkDispatcher.Update is called regularly in order for "fire and forget" sounds to work correctly. GetData throws an InvalidOperationException if FrameworkDispatcher.Update has not been called at least once before making this call. For more information, see Enable XNA Framework Events in Windows Phone Applications.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ