捕捉系统声音 [英] Capturing System Sound
本文介绍了捕捉系统声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当程序发出哔声时,我想采取措施.有没有一种方法可以捕获系统蜂鸣声或正在运行的程序发出的蜂鸣声.
I would like to take and action when a program issues a beep. Is there a way to capture a system beep or a beep that is sounded by a running program.
推荐答案
是的,您可以使用Direct X库捕获.尝试此
yes you can capture using Direct X libraries. try this
,或者如果直接X库看起来很困难您可以尝试使用Microsoft XNA框架和DirectSound类.
希望对您有所帮助.
or if direct X libaries looks difficult to you try using Microsoft XNA framework and DirectSound Class.
Hope it will help..
这篇关于捕捉系统声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文