捕获C ++中的全局音频输出(Portaudio) [英] Capture global Audio Output in C++ (Portaudio)

查看:181
本文介绍了捕获C ++中的全局音频输出(Portaudio)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题:是否可以使用Portaudio记录全局Windows输出?我读到您可以将输入设备更改为实际的输出设备,但这根本不起作用.那么还有其他可能录制输出声音的可能性吗? 我想更喜欢使用Portaudio,但我不怕使用其他API.它应该是跨平台的API.

I have one question: Is there any possibillity to record the global Windows Output using Portaudio? 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. It should be a cross-platform API.

最好的问候, 丹尼斯

推荐答案

依靠 Ross Bencina的答案

加上互联网提示:您需要安装PortAudio补丁启用WASAPI环回:

plus an internet tip: You need a PortAudio patch to enable WASAPI Loopback:

https://github .com/michaelni/audacity/blob/master/lib-src/portaudio-v19/wasapi-loopback.patch

这篇关于捕获C ++中的全局音频输出(Portaudio)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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