Added a gain slider to adjust the volume of audio input.