0

i want to know how to switch from earpiece to speaker and speaker to earpiece on button click. If any one sample project for this please share a link to help me to understand full.

Shubham Sahu
  • 1,963
  • 1
  • 17
  • 34

1 Answers1

0

Follow this solution its fully worked with media even if Earpiece or Headset is connected in UWP

https://social.msdn.microsoft.com/Forums/en-US/f50d21bc-61d7-4058-ba6c-4da6c9b90c95/route-media-audio-to-speakereven-if-headset-is-connect-uwp?forum=wpdevelop

Shubham Sahu
  • 1,963
  • 1
  • 17
  • 34