Route media audio to speakereven if headset is connect (UWP)

冷暖自知 提交于 2019-12-11 14:46:53

问题


In scenario 2 of this Audio Creation uwp project i noticed it capture audio from microphone and give output to selected output device in real time. So in this scenario i selected speaker as output device and start record so it start capture audio from microphone and give output to speakers even if my earphones is connected.

as shown in image it route audio to media instead of headphones

so similarly i want to route media, mp3,FM audio to speaker even if headset is connected.


回答1:


This is a exception that works thanks to AudioGraph. Unfortunately, you cannot apply this in general to override the default behavior of the system.



来源:https://stackoverflow.com/questions/45319804/route-media-audio-to-speakereven-if-headset-is-connect-uwp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!