我想用 winmm.dll 在我的应用程序中记录,这是我的代码:
mciSendString("open new Type waveaudio Alias recsound", "", 0, 0);
mciSendString("record recsound", "", 0, 0);
string command = "set capture time format ms bitspersample 16 channels 1 samplespersec 16000 alignment 4";
mciSendString(command, "", 0, 0);
但波形文件的格式与我设置的不完全一样。录制时如何设置比特率?