2008年02月
This is a simple application that shows you how to play and record sound under windows.
It uses the old multimedia API. A better solution may be to use DirectSound. 阅读全文>
发表于 @ 2008年02月21日 11:06:00|评论(loading...)|编辑
At first time,this is update.This project introduces how to use waveInopen and waveOutopen to recording and play the waveform audio.This is MFC application using VC++.The purpose is to help to understand waveform audio function,so that i don't build completely a program recording. 阅读全文>
发表于 @ 2008年02月21日 11:04:00|评论(loading...)|编辑
This sample program make use of waveInxxxx functions to read from an audio input device like a sound card and write it to a .wav file using mmioxxx functions. It is one of the simplest way to record sound with all the format capabilities supported by the hardware device 阅读全文>
发表于 @ 2008年02月21日 11:03:00|评论(loading...)|编辑
Have you ever tried to write something for recording sound from the sound card and encoding it in MP3 format? Not interesting? Well, to make stuff more interesting, have you ever tried to write an MP3 streaming, internet radio sever? I know, you'll say "What for? There are good and pretty much standard implementations like Icecast or SHOUcast". But, anyway, have you ever tried, at least, to dig a bit inside this entire kitchen or write anything similar for your soul? Well, that's what this artic阅读全文>
发表于 @ 2008年02月21日 11:01:00|评论(loading...)|编辑
Most of us are familiar with at least one multimedia recording software. Windows has one of the simplest ones: Sound Recorder. In this article I want to introduce some simple but useful classes for recording/playing back of voice that wrap the WAVE APIs.阅读全文>
发表于 @ 2008年02月21日 11:00:00|评论(loading...)|编辑
在Win32 APIs基础上编写录音程序繁琐易错,使用封装好的类是个不错的注意。不幸的是所谓封装好的类对你而言,往往是代码罗嗦且功能不足,因此尽管你可能希望在某个项目上因使用封装好的类而避开Win32 APIs,可最终你发现你还得面对它。不是为了编写自己的类,就是为了修改别人的代码。阅读全文>
发表于 @ 2008年02月20日 16:50:00|评论(loading...)|编辑
我从前出于需要,上网寻找了关于录音部分的源代码,收获不大,现在把自己摸索的部分源代码公开出来吧,希望对部分人有用。阅读全文>
发表于 @ 2008年02月20日 15:56:00|评论(loading...)|编辑
This course covers basic and advanced topics related to using computers to support audio and video over a network. Topics specific to multimedia will be selected from areas such as: compression, network protocols, operating systems and human computer interaction. Students will be expected to read assigned research papers and complete several programming intensive projects that illustrate different aspects of multimedia computing. 阅读全文>
发表于 @ 2008年02月20日 15:45:00|评论(loading...)|编辑
Using the Low level Digital Audio API, you need to first call waveOutOpen() or waveInOpen() to open some Digital Audio device for output (use its Digital to Analog Converter to play audio) or input (use its Analog to Digital Converter to record audio) respectively. 阅读全文>
发表于 @ 2008年02月20日 15:36:00|评论(loading...)|编辑
If you only program for people who have a single piece of audio hardware, then you don't. But many Windows users have more than one output—for example, the motherboard's built-in audio and an added PCI SoundBlaster card. They can select their "preferred device" (that is, the one with the speakers attached :-) using Windows Sounds and Multimedia control panel. (For Google's benefit, at this point we'll stop to note that the "preferred audio device" is the same thing as the "default audio device".阅读全文>
发表于 @ 2008年02月20日 14:21:00|评论(loading...)|编辑
本文讨论并实现了在VC++中使用低级音频函数WaveX播放声音文件的方法。阅读全文>
发表于 @ 2008年02月20日 11:21:00|评论(loading...)|编辑
“程序 FreeEIM.exe 遇到问题异常退出,是否重启?”,类似的情况我们似乎碰见过,很多程序都有这个功能;这是怎么实现的呢?经过一番努力,在MSDN找到了SetUnhandledExceptionFilter函数,利用它,可以实现这个功能。其实这个过程叫做SEH("Structured Exception Handling")结构化异常处理。是操作系统提供给程序设计者的强有力的处理程序错误或异常的武器。我在这里简单的说一下如何使用,如有错误,请高手不吝指正。阅读全文>
发表于 @ 2008年02月14日 14:42:00|评论(loading...)|编辑
寻找Release版程发生异常退出的地方比Debug版麻烦得多。发生异常的时候windows通常会弹出一个错误对话框,点击详细信息,我们能获得出错的地址和大概的出错信息,然后可以用以下办法分析我们的程序。阅读全文>
发表于 @ 2008年02月14日 09:54:00|评论(loading...)|编辑
很简单的一个程序,但得到的效果却不是预期之中的,在弹出'Final SEH'
之后又弹出一个Runtime error。如果在窗体之中的按钮事件里面写这样的测试
代码的话,效果更加是“离奇”,弹出一个“除0错”之后就没事发生了,根本
没有去Handler里面。阅读全文>
发表于 @ 2008年02月14日 09:51:00|评论(loading...)|编辑
SEH出现已绝非一日,但很多人可能还不彻底了解Seh的运行机制;有关seh的知识资料不是很多阅读全文>
发表于 @ 2008年02月14日 09:50:00|评论(loading...)|编辑
11月2日下午,原籍汕头的亿万富商许伟杰在广州市南方医院宣告不治身亡。《疾病诊断证明书》显示,43岁的他死于急性铊中毒。昨日,该院神经内科主任潘速跃说,死者被投毒的可能性很大。阅读全文>
发表于 @ 2008年02月01日 14:34:00|评论(loading...)|编辑
比尔·盖茨创造了2O世纪最美丽的财富神话。他拥有大多数人耗尽毕生精力都不能获得的财富,他在多年中一直蝉联世界财富排行榜首位。 阅读全文>
发表于 @ 2008年02月01日 14:27:00|评论(loading...)|编辑