Getting raw microphone data on the Windows Phone?
问题 Is it possible to obtain raw microphone data on the Windows Phone 7 to measure the ambient sound? If so, how can I do this? 回答1: not sure if you are familiar with Dealing with micrphone in WP7 or not but you can check this blog post for a full detailed tutorial : you initialize a buffer with the size of the data : _buffer = new byte[_microphone.GetSampleSizeInBytes(_microphone.BufferDuration)]; and whenever the Microphone data is ready in this event handler get the data from the microphone