0
我不明白爲什麼我有這個錯誤。你可以幫我嗎?」錯誤:不支持的配置:sampleRate 44100,format 1,channelCount 1「-AudioRecord Android
這裏是我的代碼:
int bufferSize = AudioRecord.getMinBufferSize(44100,AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT);
AudioRecord audioRecord = new AudioRecord(MediaRecorder.AudioSource.MIC, 44100,AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT, bufferSize);
錯誤:
Error: Unsupported configuration: sampleRate 44100, format 1, channelCount 1"-AudioRecord Android
你在運行什麼設備? – Eric