Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化:自动切换到默认音频设备 #5415

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tangge233
Copy link
Contributor

@tangge233 tangge233 commented Jan 13, 2025

跟随 Windows 的声音输出设备的变化改变输出播放设备

变化的上部分基本上都是缩进变化……

Fixes #480

@tangge233 tangge233 changed the title 【优化】自动切换到默认音频设备 优化:自动切换到默认音频设备 Jan 13, 2025
@Pigeon0v0 Pigeon0v0 added · 优化 等待确认 已经过社区确认,等待开发者确认 labels Jan 13, 2025
@LTCatt
Copy link
Member

LTCatt commented Jan 14, 2025

这个更改能否解决 #480

@LTCatt LTCatt added 等待提交者 需要提交者补充信息或进行操作 and removed 等待确认 已经过社区确认,等待开发者确认 labels Jan 14, 2025
@tangge233
Copy link
Contributor Author

这个更改能否解决 #480

可以的,这会跟随 Windows 控制中心中选择的音频输出设备,唯一的不足是会重头开始重新播放音乐

这个代码可能有点乱,但是能跑

@LTCatt LTCatt added 处理中 开发者正在调查或处理该项 🟨 中 优先度:中 and removed 等待提交者 需要提交者补充信息或进行操作 labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
· 优化 处理中 开发者正在调查或处理该项 🟨 中 优先度:中
Projects
None yet
Development

Successfully merging this pull request may close these issues.

在切换音频设备后,音乐播放不会自动切换到新设备
3 participants