摘要:
需要先从麦克风中采样,代码样本可以参考官方示例: WASAPI Capture Shared Event Driven 官方示例采样10s, 我们需要在WriteWaveFile函数下添加生成原始音频的代码。 // Write the contents of a WAV file. We take 阅读全文
摘要:
跟创建普通的win32窗口一样,线程中的窗口也需要注册和窗口处理过程 // Test_WM_CLOSE.cpp : Defines the entry point for the application. // #include "framework.h" #include "Test_WM_CLO 阅读全文