c++ - 使用 FMOD 库录音

标签 c++ recording fmod

是否有关于 FMOD 的 C++ 教程显示如何从麦克风录制声音? 甚至可能吗? 谢谢大家。

最佳答案

确实可以。查看 FMOD 示例目录(\FMOD SoundSystem\FMOD Programmers API Win32\examples\recording),您会找到“录音”示例。

/*=============================================================================================== 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. ===============================================================================================*/

关于c++ - 使用 FMOD 库录音,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7000199/

相关文章:

linux - 如何在 Linux 中创建深度非压缩视频

android - 在 C 和 Fmod : Functions gets undefined reference 中为 Android 编译终端 mp3player

c++ - FMOD Ex 内存分配问题

c++ - 如何为结构体数组分配内存?

c++ - 如何将文件中的值输入到矩阵中?

ios - 如何在Parse上存储iOS录音?

c++ - 加载somesound.bank并使用fmod播放c++

c++ - 递归反转链表的函数

c++ - int() 为 0 的定义在哪里?

android - 自定义视频录制方向