描述:音频wav

This commit is contained in:
SelfRidicule 2024-08-15 18:34:08 +08:00
parent c44a6b606a
commit 250dbada3f

View File

@ -383,8 +383,8 @@ Page({
sampleRate: 16000, //采样率,有效值 8000/16000/44100
numberOfChannels: 1, //录音通道数,有效值 1/2
encodeBitRate: 96000, //编码码率
format: 'mp3', //音频格式,有效值 aac/mp3
frameSize: 50, //指定帧大小
format: 'wav', //音频格式wav 支持ios、android
// frameSize: 50, //指定帧大小
// audioSource: 'auto' //指定录音的音频输入源,可通过 wx.getAvailableAudioSources() 获取
})
},