下载bass.dll包里除了有丰富的demo,还有一个base.chm电子文档,你可以看看那两个函数的区别,我也没玩过这玩意,只能给点提示而已。
==============================================
Adjusts the settings of a recording input source.
BASS_RecordSetInput
BOOL BASS_RecordSetInput(
int input,
DWORD flags,
float volume
);
示例:
启用第一个input,并设置它的音量级别为50%
BASS_RecordSetInput(0, BASS_INPUT_ON, 0.5);
================================================
Sets the recording device to use for subsequent calls in the current thread.
BASS_RecordSetDevice
BOOL BASS_RecordSetDevice(
DWORD device
);
示例:
使用设备2进行录音
BASS_RecordSetDevice(2); // 选择设备2
record = BASS_RecordStart(44100, 2, 0, MyRecordProc, 0); // 开始录音
详细的说明看那个base.chm吧,在里面搜这些函数就能找到说明