使用P / Invoke,赢得的API来监控音频输入(C#) [英] Using p/invoke and win-api to monitor audio line-in (C#)

查看:180
本文介绍了使用P / Invoke,赢得的API来监控音频输入(C#)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的几天里,我试图写小程序来监控音频输入采用双赢的API(WINMM.DLL)。
我可以PInvoke的API函数,如waveInOpen但我无法弄清楚如何使用这些功能来实现我的目标。

In the last few days I was trying to write small program to monitor the audio line-in using win-api (winmm.dll). I can pinvoke api functions such as waveInOpen but I can't figure out how to use these functions to achieve my target.

问题是 - 有人可以可以简单告诉我怎么可以从音频线上的数据在使用这些API(C#)

the question is - can someone can briefly tell me how can I get the data from the audio line in using these API (C#).

推荐答案

您不必!!!

看看这个:

<一个href=\"http://stackoverflow.com/questions/3955253/measure-speaker-volume-by-recording-playing-sound-with-microphone/3979900#3979900\">http://stackoverflow.com/questions/3955253/measure-speaker-volume-by-recording-playing-sound-with-microphone/3979900#3979900

联手的家伙:)

这篇关于使用P / Invoke,赢得的API来监控音频输入(C#)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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