Adjusts the settings of a recording input source.
BOOL BASS_RecordSetInput(
int input,
DWORD flags,
float volume
);
| input | The input to adjust the settings of... 0 = first, -1 = master. | ||||
| flags | The new setting... a combination of these flags.
| ||||
| volume | The volume level... 0 (silent) to 1 (max), less than 0 = leave current. |
| BASS_ERROR_INIT | BASS_RecordInit has not been successfully called. |
| BASS_ERROR_ILLPARAM | input or volume is invalid. |
| BASS_ERROR_NOTAVAIL | The input does not have the necessary controls to apply the flags and/or volume. If attempting to set both at the same time, try separating them to determine which is unavailable. |
| BASS_ERROR_UNKNOWN | Some other mystery problem! |
The volume curve used by this function is always linear; the BASS_CONFIG_CURVE_VOL config option setting has no effect on this.
Changes made by this function are system-wide, ie. other software using the device will be affected by it.
BASS_RecordSetInput(0, BASS_INPUT_ON, 0.5);