C/C++/C#
文章平均质量分 75
老铁
这个作者很懒,什么都没留下…
展开
-
Windows 声音处理编程(基于winmm.dll)(1)
本学期选了一门《声音识别技术》,第一个作业,教授让编写一个程序,获取声卡数据,并存储成本地文件,要求使用winmm.dll中的函数。基于此,查阅了相关资料和winmm.dll的API,实现了程序,符合要求,在此留个记录。首先,对winmm.dll的API需要有个大致的了解,刚好,在百度百科中有winmm.dll词条,可以先查阅一下,大致知道这个dll的作用,参考:http://baike.ba原创 2012-10-31 11:29:36 · 8856 阅读 · 1 评论 -
Windows 声音处理编程(基于winmm.dll)(2)
这一篇简单介绍winmm.dll中的mciSendString功能,并用此功能开发一个多媒体播放器。首先在C#中,重写winmm.dll中的mciSendString函数://The mciSendString function sends a command string to an MCI device. The device that the command is sent to i原创 2012-11-02 14:10:52 · 2573 阅读 · 0 评论 -
Windows 声音处理编程(基于winmm.dll)(3)
这一篇介绍向声卡发送数据的方法。首先在C#中重写midiOutOpen和midiOutShortMsg方法://打开指定的MIDI输出设备进行回放[DllImport("winmm.dll")] public static extern uint midiOutOpen(out IntPtr lphMidiOut, uint uDeviceID, IntPtr dwC原创 2012-11-20 12:11:03 · 3406 阅读 · 0 评论 -
Sealed Classes in C#
In this article, I will discuss how to create and use sealed classes in C# and .NET. We will also review why programming gurus use sealed classes in their real world applications. Sealed classes转载 2012-11-21 11:57:48 · 495 阅读 · 0 评论