- sampleRateInHz
- the sample rate expressed in Hertz.
- channelConfig
- describes the configuration of the audio channels. See AudioFormat.CHANNEL_IN_MONO and AudioFormat.CHANNEL_IN_STEREO
- audioFormat
- the format in which the audio data is represented. See AudioFormat.ENCODING_PCM_16BIT.
Documentation for this section has not yet been entered.
Returns the minimum buffer size required for the successful creation of an AudioRecord object, in byte units. Note that this size doesn't guarantee a smooth recording under load, and higher values should be chosen according to the expected frequency at which the AudioRecord instance will be polled for new data. See AudioRecord(AudioSource, System.Int32, System.Int32, System.Int32, System.Int32) for more information on valid configuration values.