捕获声音输出在C# [英] Capture Sound Output In C#

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

问题描述

我试图建立在C#程序,将让我流音频和视频从一台计算机,通过网络,到另一台计算机,这是迷上了一堆的视频/音频设备(投影仪,音箱等)。理想情况下,我希望能够直接从presenter计算机捕获此数据没有它不必插入任何东西。

I'm trying to build a program in C# that will allow me to stream audio and video from one computer, over the network, to another computer, which is hooked up to a bunch of video/audio equipment (projector, speakers, etc). Ideally, I'd like to be able to capture this data directly from the "presenter" computer without it having to plug into anything.

视频,流媒体和产出的计算机上重新显示是所有工作很好,但我似乎无法找到一个很好的方式来捕捉音频输出,而不需要线缆插入到耳机插孔和有线到其他计算机。这一计划的全部意义就是让这个以无线方式完成的,所以这是怎样的一个问题。综上所述,我在寻找一些C#的接口,让我捕捉到Windows机器上输出的声音,好像我已经插入的东西插入耳机插孔。

The video, streaming, and re-displaying on the "output" computer is all working well, but I can't seem to find a good way to capture audio output without the need for a cable plugged in to the headphone jack and wired to the other computer. The whole point of this program is to allow this to be done wirelessly, so this is kind of a problem. To sum up, I'm looking for some sort of C# interface that will allow me to capture the sound output on a windows machine, as though I had plugged something into the headphone jack.

感谢您事先的任何帮助。

Thanks in advance for any help.

推荐答案

在Windows中,声卡制造商可以选择,以提供一个你所听到的输入流为您捕获输出。如果你的声卡/驱动器不具备这个功能,你可以尝试使用虚拟音频电缆执行同样的事情。

In Windows, the audio card manufacturers could choose to supply a "what you hear" input stream in order for you to capture the output. If your sound card/driver doesn't have this feature, you could try to use the Virtual Audio Cable to perform the same thing.

在Windows 7中,有一个新的功能,允许你听/直接捕获任何输入流。

In Windows 7, there's a new functionality that allows you to listen to / capture any input stream directly.

这篇关于捕获声音输出在C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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