记录从应用程序音频输出 [英] Recording audio output from application

查看:142
本文介绍了记录从应用程序音频输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在建立在C ++使用Windows 8的Visual Studio此应用程序从相机捕获的视频项目,并触发实时一些虚拟动画与动画一起正在播放一些声音。

I'm currently building a project on C++ using Visual Studio on Windows 8. This application captures video from camera and triggers some virtual animations in real-time, with some sounds being played along with the animations.

用户拥有记录视频和声音的体验的选项。我已经很能录制视频,现在我想创建正在由应用程序播放的声音的音频轨道,到后来融合视频和音频文件。

The user has the option to record the experience in video and sound. I already am able to record video, now I want to create a audio track of the sounds that are being played by the application, to later fuse both video and audio files.

所以,这是从Windows应用程序录制音频输出的最好方法?
我要强调,我不希望记录任何输入设备(如麦克风)的音频,只能从应用程序本身。

So, which is the best way to record audio output from an application in windows? Let me stress that I do NOT want to record audio from any input devices (such as a microphone), only from the application itself.

最好的问候。

推荐答案

有没有应用程序的输出记录。如果你对自己产生音频,您为录音目的的复制,组合,如果你有多个输入源,然后使用API​​中的一个产生一个文件取决于您的preferences:直接写入WAV文件时,Windows媒体音频文件(ASF / WMA),DriectShow,媒体基础,第三方库。

There is no recording of application output. If you generate audio on your own, you make a copy for the recording purposes, mix if you have multiple sources, and then use one of the APIs to produce a file depending on your preferences: directly writing a WAV file, Windows Media audio files (ASF/WMA), DriectShow, Media Foundation, third party libraries.

实重放音频数据被混合并用于进一步回放发送。有时候,你可以启用环回录音捕捉充分混合输出(不只是特定的应用程序通过),就好像它是从实时音频输入设备捕捉。

Real playback audio data is being mixed and sent for further playback. Sometimes you can enable loopback recording to capture fully mixed output (not just of specific application through) as if it is a capture from realtime audio input device.

这篇关于记录从应用程序音频输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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