FFT.KeyInput C# (CSharp) Method

KeyInput() private method

private KeyInput ( ) : void
return void
    private void KeyInput()
    {
        if (Input.GetKeyDown(KeyCode.A))
        {
          doSound = !doSound;
        }
        if (Input.GetKeyDown(KeyCode.Equals))
        {
          deviceNum++;
          if (deviceNum > Microphone.devices.Length - 1)
          deviceNum = 0;
          CurrentAudioInput = Microphone.devices[deviceNum].ToString();
        }
    }