Closed WooYu closed 5 years ago
Sorry that I don't understand what do you mean 😂
Use StreamAudioRecord recording of data is the flow of PCM.Though the output path here is: m4a format, but the file is saved in PCM data streams
There is another problem,AndroidTrack play no Mediaplay's sound loudly
You are right, you can use any file name for the saved file, but the content is in PCM format.
@Piasy Why AndroidTrack play no Mediaplay's sound loudly?
@WooYu Sorry for the late response, I haven't dig into that, maybe you can try to find out the reason :)
mOutputFile = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + System.nanoTime() + ".stream.m4a");
Using StreamAudioRecord audio recording, the format is no practical significance.Because there is no converting PCM flow into the corresponding code format.