Android AudioRecord class - process live mic audio quickly, set up callback function
问题 I want to record audio from the mic and access it for possible playback in near real-time. I am unsure of how to use the Android AudioRecord class to record some mic audio and quickly access it. For the AudioRecord class, the official site says \'the app polls the AudioRecord object in time\', and \'the size of the buffer being filled determines the time-length of the recording before over-running unread data\'. Later it\'s suggested that a larger buffer should be used when polling less