I'm working on a project for windows phone and I need to encode PCM to G.711.So I need device to capture audio with these features: 16 bits, 8000 sample/s.
capturesource.AudioCaptureDevice.SupportedFormats
returns a list of different supported capture formats.When I run a Silverlight app on my pc this code returns 10 different formats which include the mentioned format I need.However as I use the code for windows phone app and I run it on windows emulator it only returns 6 format which doesn't include appropriate format for my purpose. But my questions are:
Is the presented supportedformats property using windows phone emulator is as same as that of real windows phone device or it can be different?
Is there a way to change the capturing features of device?