This commit is contained in:
square group sky 2019-11-26 23:09:39 +08:00
parent 88999c123e
commit 3415da0e23
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ public class MainActivity extends AppCompatActivity {
}
//利用AudioRecordManager类获取设置录音位置
AudioRecordManager.getInstance(mContext).setAudioSavePath(mAudioDir.getAbsolutePath());
//利用AudioRecordManager类设置最大录音时间
AudioRecordManager.getInstance(this).setMaxVoiceDuration(MAX_VOICE_TIME);
//实现按钮录音