文件名称:PlayWavByMCI
- 所属分类:
- 多媒体编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 68kb
- 下载次数:
- 0次
- 提 供 者:
- 谢**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
我在网上转悠了半天,想找一个能实现立体声录音的源代码,最好是能指定声道进行录音(比如:指定录左声道时,右声道的声音就不会被录进来),可我没有找到,只好自己来写一个了。
本程序实现音频文件的播放;单声道录音、立体声录音并保存为.wav文件;
枚举系统中的声卡显示在下拉列表中供用户选择。
指定声道录音的功能我仍然没有实现,若有朋友知道实现方法敬请告知(chrys@163.com)
我的实现方法是:先录制立体声的.wav文件,然后再将声道提取出来,分别保存为
左声道的.wav文件和右声道的.wav文件,方法虽然笨,但也是没办法了。
-I cruise the Internet for a long time and want to achieve a stereo recording of the source code, it would be best to designated channel recording (for example : the designation were left channel, right channel voices will not come to be recorded), I could not find, they themselves had to write one. The program audio player; Mono audio, stereo recording and save. Wav file; Enumeration System of the card shows the drop-down list for users to select. Designated channel recording function, I still did not materialize, if my friends to know that this method Comments (chrys@163.com) I realize is : the first stereo recording. wav file and then re-channel extracted, kept separate from the left channel. wav files and the right channel. wav file, though stupid, but it is also not a solution.
本程序实现音频文件的播放;单声道录音、立体声录音并保存为.wav文件;
枚举系统中的声卡显示在下拉列表中供用户选择。
指定声道录音的功能我仍然没有实现,若有朋友知道实现方法敬请告知(chrys@163.com)
我的实现方法是:先录制立体声的.wav文件,然后再将声道提取出来,分别保存为
左声道的.wav文件和右声道的.wav文件,方法虽然笨,但也是没办法了。
-I cruise the Internet for a long time and want to achieve a stereo recording of the source code, it would be best to designated channel recording (for example : the designation were left channel, right channel voices will not come to be recorded), I could not find, they themselves had to write one. The program audio player; Mono audio, stereo recording and save. Wav file; Enumeration System of the card shows the drop-down list for users to select. Designated channel recording function, I still did not materialize, if my friends to know that this method Comments (chrys@163.com) I realize is : the first stereo recording. wav file and then re-channel extracted, kept separate from the left channel. wav files and the right channel. wav file, though stupid, but it is also not a solution.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Debug
.....\hwPlayWavByMCI.exe
HwMCI.cpp
HwMCI.h
hwPlayWavByMCI.aps
hwPlayWavByMCI.clw
hwPlayWavByMCI.cpp
hwPlayWavByMCI.dsp
hwPlayWavByMCI.dsw
hwPlayWavByMCI.h
hwPlayWavByMCI.ncb
hwPlayWavByMCI.opt
hwPlayWavByMCI.plg
hwPlayWavByMCI.rc
hwPlayWavByMCIDlg.cpp
hwPlayWavByMCIDlg.h
ReadMe.txt
res
...\hwPlayWavByMCI.rc2
resource.h
StdAfx.cpp
StdAfx.h
.....\hwPlayWavByMCI.exe
HwMCI.cpp
HwMCI.h
hwPlayWavByMCI.aps
hwPlayWavByMCI.clw
hwPlayWavByMCI.cpp
hwPlayWavByMCI.dsp
hwPlayWavByMCI.dsw
hwPlayWavByMCI.h
hwPlayWavByMCI.ncb
hwPlayWavByMCI.opt
hwPlayWavByMCI.plg
hwPlayWavByMCI.rc
hwPlayWavByMCIDlg.cpp
hwPlayWavByMCIDlg.h
ReadMe.txt
res
...\hwPlayWavByMCI.rc2
resource.h
StdAfx.cpp
StdAfx.h