创建一个自定义的Windows输出设备 [英] Create a custom windows output device

查看:84
本文介绍了创建一个自定义的Windows输出设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个自定义的Windows声音输出设备.如果您在声音设置中选择了此设备(播放设备),它将通过自定义代码将声音流发送到套接字,并在其他设备上监听.问题在于,我真的不知道该怎么做.

I want to create a custom windows sound output device. If you select this device in your sound settings (Playback device) it will send the sound stream via custom code to a socket, listening on an other device. The problem ist, that I dont realy know how to do it.

我通常使用Python和Flutter/Android编程,对Windows编程了解不多.

I normaly program Python and Flutter / Android and dont know much about windows programming.

我阅读了Microsoft文档,其中MMDevice API可以帮助我. https://docs.microsoft.com/en-us/Windows/桌面/coreaudio/mmdevice-api

I read in the microsoft documentations that the MMDevice API can mabe help me. https://docs.microsoft.com/en-us/windows/desktop/coreaudio/mmdevice-api

请给我一些建议

推荐答案

当前,创建音频端点的唯一合法方法是实现模拟硬件音频设备的音频驱动程序.请参阅MS WDK中的MSVAD和SysVad示例.

Currently, the only legal way to create an audio endpoint is to implement an audio driver that emulates a hardware audio device. See MSVAD and SysVad examples in MS WDK.

这篇关于创建一个自定义的Windows输出设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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