what will happen when the number of data which is sampled through audio exceed the “bufferSizeInBytes” which is set in AudioRecord constructor?
问题 public AudioRecord (int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes) This is the Public Constructor of AudioRecord , you can find the last parameter called bufferSizeInBytes , and it means "the total size (in bytes) of the buffer where audio data is written to during the recording." in android docs. I thought this is a buffer for storing all data which is sampled from audio hardware. i have a question : If the number of data which is sampled