This commit is contained in:
parent
88999c123e
commit
3415da0e23
|
@ -87,6 +87,7 @@ public class MainActivity extends AppCompatActivity {
|
|||
}
|
||||
//利用AudioRecordManager类获取设置录音位置
|
||||
AudioRecordManager.getInstance(mContext).setAudioSavePath(mAudioDir.getAbsolutePath());
|
||||
|
||||
//利用AudioRecordManager类设置最大录音时间
|
||||
AudioRecordManager.getInstance(this).setMaxVoiceDuration(MAX_VOICE_TIME);
|
||||
//实现按钮录音
|
||||
|
|
Loading…
Reference in New Issue