waveInxxx/waveOutxxx系列内容导航

 

结构体
 1WAVEFORMATEX
 2WAVEFORMAT 
 3PCMWAVEFORMAT 
 4WAVEHDR
 5WAVEINCAPS  
 6WAVEOUTCAPS 
 7MMCKINFO 
 8 
 9 
 10 
 11 
 12 
 13 
 14 
 15 
 16 
 17 
 18 
 19 
 20 
 21 
 22 
 23 
 24 
 25 


录音输入函数:
 1waveInPrepareHeader
 2waveInUnprepareHeader(HWAVEIN hwi, LPWAVEHDR pwh, UINT cbwh);
 3waveInOpen(LPHWAVEIN phwi, UINT uDeviceID,LPCWAVEFORMATEX pwfx, DWORD dwCallback, DWORD dwInstance, DWORD fdwOpen);
 4waveInClose(HWAVEIN hwi);
 5waveInAddBuffer(HWAVEIN hwi, LPWAVEHDR pwh, UINT cbwh);
 6waveInStart(HWAVEIN hwi);
 7waveInStop(HWAVEIN hwi); 
 8waveInReset(HWAVEIN hwi); 
 9waveInGetPosition(HWAVEIN hwi, LPMMTIME pmmt, UINT cbmmt); 
 10waveInGetID(HWAVEIN hwi, LPUINT puDeviceID); 
 11#ifdef _WIN32
WINMMAPI MMRESULT WINAPI waveInMessage(HWAVEIN hwi, UINT uMsg, DWORD dw1, DWORD dw2);
#else
DWORD WINAPI waveInMessage(HWAVEIN hwi, UINT uMsg, DWORD dw1, DWORD dw2);
#endif
 12MMRESULT WINAPI waveInGetDevCaps(UINT uDeviceID, LPWAVEINCAPS pwic, UINT cbwic); 
 13MMRESULT WINAPI waveInGetErrorText(MMRESULT mmrError, LPSTR pszText, UINT cchText); 
 14WINMMAPI UINT WINAPI waveInGetNumDevs(void); 
 15 
 16 
 17 
 18 
 19 
 20 
 21 
 22 
 23 
 24 
 25 


播放输出函数:
 1 
 2waveOutOpen(LPHWAVEOUT phwo, UINT uDeviceID... ..., DWORD fdwOpen); 
 3waveOutPrepareHeader(HWAVEOUT hwo, LPWAVEHDR pwh, UINT cbwh);
 4waveOutUnprepareHeader(HWAVEOUT hwo, LPWAVEHDR pwh, UINT cbwh); 
 5waveOutWrite(HWAVEOUT hwo, LPWAVEHDR pwh, UINT cbwh); 
 6waveOutPause(HWAVEOUT hwo); 
 7waveOutRestart(HWAVEOUT hwo); 
 8waveOutReset(HWAVEOUT hwo); 
 9waveOutBreakLoop(HWAVEOUT hwo); 
 10waveOutGetPosition(HWAVEOUT hwo, LPMMTIME pmmt, UINT cbmmt); 
 11waveOutGetPitch(HWAVEOUT hwo, LPDWORD pdwPitch); 
 12waveOutSetPitch(HWAVEOUT hwo, DWORD dwPitch);
 13waveOutGetPlaybackRate(HWAVEOUT hwo, LPDWORD pdwRate); 
 14waveOutSetPlaybackRate(HWAVEOUT hwo, DWORD dwRate); 
 15waveOutGetID(HWAVEOUT hwo, LPUINT puDeviceID); 
 16 
 17waveOutClose(HWAVEOUT hwo); 
 18waveOutGetErrorText 
 19waveOutGetVolume
 20waveOutGetDevCaps 
 21waveOutGetNumDevs 
 22waveOutMessage 
 23waveOutProc 
 24 
 25 


mmioxxx系列函数:
1mmioAdvance
 2mmioAscend
 3mmioClose
 4mmioCreateChunk
 5mmioDescend
 6mmioFlush
 7mmioGetInfo 
 8mmioInstallIOProc
 9mmioOpen 
 10MMIOProc 
 11mmioRead 
 12mmioRename 
 13mmioSeek 
 14mmioSendMessage 
 15mmioSetBuffer 
 16mmioSetInfo 
 17mmioStringToFOURCC 
 18mmioWrite 
 19 
 20 
 21 
 22 
 23 
 24 
 25 


例子:
 1用VC自己动手做个录音机
 2灰鸽子有个功能就是语音控制/木马编程之语音控制 
 3语音邮件控件的实现 
 4基于WaveX低级音频函数的实时语音通信 
 5使用waveOut接口在Windows中播放声音 
 6在VC6.0下自制多媒体播放器 
 7多媒体文件I/O 
 8亲测写一个RIFF文件的开头
 9经典例子的测试与详细分析精解,细化到每一句每一个变量
 10 
 11 
 12 
 13 
 14 
 15 
 16 
 17 
 18 
 19 
 20 
 21 
 22 
 23 
 24 
 25 

mmioFOURCC
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值