the first capture device is reserved; so we can only handle up to MAX_AUDIO_DEVICE - 1 capture devices.
strip preamble from GPL license