开发者

Sound recording with FMOD library

Is there a C++ tutorial on FMOD that shows how to record sound from microphone? Is it even possible?! 开发者_开发问答Thanks everyone.


It is indeed possible. Check FMOD example directory(\FMOD SoundSystem\FMOD Programmers API Win32\examples\recording) and you will find "recording" example.

/*=============================================================================================== Record example Copyright (c), Firelight Technologies Pty, Ltd 2004-2010.

This example shows how to record a sound, then write it to a wav file. It then shows how to play a sound while it is being recorded to. Because it is recording, the sound playback has to be delayed a little bit so that the playback doesn't play part of the buffer that is still being written to. ===============================================================================================*/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜