-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
音频输出设备选择,WASAPI音频后端 #156
Labels
enhancement
New feature or request
Comments
弱弱的问一下大佬,以前qtav是不是也没有切换声卡这个功能?找遍了没找到,谢谢 |
没有 |
大佬,这个可选声卡的功能好了以后记得说声,我可以试试。建议先把win上先实现,一个是获取音频输出设备集合,一个是设置的接口。谢谢 |
王总这个功能好了没,谢谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
某些情况下可能需要把音频播放到指定音频设备,目前好像没看见可以选择播放设备。
WASAPI是Windows Vista加入的低级音频组件(可能音频渲染质量更好?也支持独占音频设备),(貌似XAudio2内部也用到了它)。
Describe the solution you'd like
音频输出设备选择感觉更实用一点,暴露给用户的形式可以参考MPV,Windows上类似如下(uuid不知道mpv是怎么生成的,下面这个uuid是用powershell New-Guid生成的,不是原值):
WASAPI这个主要是感觉可以看齐MPV。
微软文档和sample参考:
https://learn.microsoft.com/windows/win32/coreaudio/wasapi
https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/WASAPIRendering
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: