摘要:
需要先从麦克风中采样,代码样本可以参考官方示例: WASAPI Capture Shared Event Driven 官方示例采样10s, 我们需要在WriteWaveFile函数下添加生成原始音频的代码。 // Write the contents of a WAV file. We take 阅读全文
posted @ 2020-11-03 17:55
strive-sun
阅读(382)
评论(0)
推荐(0)
摘要:
std::string s = fs::temp_directory_path().append(filename).string(); LPCBYTE str = reinterpret_cast<LPCBYTE>(s.c_str()), RegSetValueExA的实战示例: // using 阅读全文
posted @ 2020-11-03 10:27
strive-sun
阅读(349)
评论(0)
推荐(0)