Returns number of channels from a channel configuration.
number of channels
AudioFormat.CHANNEL_IN_MONO or AudioFormat.CHANNEL_IN_STEREO