简体   繁体   English

捕获C ++中的全局音频输出(Portaudio)

[英]Capture global Audio Output in C++ (Portaudio)

I have one question: Is there any possibillity to record the global Windows Output using Portaudio? 我有一个问题:是否可以使用Portaudio记录全局Windows输出? I have read that you can change the input device to the actual output device but that's not working at all. 我读到您可以将输入设备更改为实际的输出设备,但这根本不起作用。 So is there any other possibillity to record the output sound? 那么还有其他可能录制输出声音的可能性吗? I'd like to prefer using Portaudio but I'm not afraid to use other APIs. 我更喜欢使用Portaudio,但我不害怕使用其他API。 It should be a cross-platform API. 它应该是一个跨平台的API。

Best Regards, Dennis 最好的问候,丹尼斯

I believe that this can be done with WASAPI Loopback Recording 我相信这可以通过WASAPI回送记录来完成

PortAudio has a WASAPI back-end, so in principle you should be able to do it with PortAudio if you target a WASAPI PortAudio device. PortAudio具有WASAPI后端,因此原则上,如果将WASAPI PortAudio设备作为目标,则应该可以使用PortAudio进行操作。 In practice I have never tried it so I can't guarantee that it will work. 实际上,我从未尝试过它,因此无法保证它会起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM