即使耳机已连接 (UWP) 也将媒体音频路由到扬声器 [英] Route media audio to speakereven if headset is connect (UWP)

查看:29
本文介绍了即使耳机已连接 (UWP) 也将媒体音频路由到扬声器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在此

解决方案

由于 AudioGraph,这是一个例外.不幸的是,您不能在一般情况下应用它来覆盖系统的默认行为.

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.

解决方案

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

这篇关于即使耳机已连接 (UWP) 也将媒体音频路由到扬声器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆