https://developerpublish.com/how-to-detect-the-audio-endpoint-device-in-windows-phone-8-app/
How to detect the audio endpoint device in Windows Phone 8 App ?