MediaRecorder进行录屏或摄像是怎么关闭声音?那是关闭Mic?不是的,这样根本不起作用。其实,最简单的方法就是不进行设置声音相关参数,就OK了。
pMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); pMediaRecorder.setAudioSamplingRate(44100); pMediaRecorder.setAudioEncodingBitRate(96000); pMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); pMediaRecorder.setAudioChannels(1); 这些都不进行设置就行了。
文章评论
Your answer was just what I needde. It's made my day!
We have seen a number of sleep authorities know this as a new "negative slumber oruioazatinn.&qgot; My partner and i undoubtedly disagree, and thus would likely my child.