如何在AVRecorder录制WAV格式的音频文件时正确配置AVRecorderProfile参数
=================================================

#### 问题现象

使用AVRecorder录制WAV格式音频时，发生异常错误。

#### 问题原因

AVRecorderProfile参数配置错误，WAV格式需要匹配相应的比特率、声道数、编码格式、采样率和封装格式。

#### 解决措施

给[AVRecorderProfile](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/arkts-apis-media-i#avrecorderprofile9)配置相应的比特率、声道数、编码格式、采样率和封装格式。

private avProfile: media.AVRecorderProfile = {
  audioBitrate: 64000, _// set audioBitrate according to device ability._
  audioChannels: 1, _// set audioChannels,valid value 1-8,CFT\_WAV supports 1._
  audioCodec: media.CodecMimeType.AUDIO\_G711MU, _// set audioCodec,AUDIO\_G711MU matching CFT\_WAV._
  audioSampleRate: 8000, _// set audioSampleRate according to device ability._
  fileFormat: media.ContainerFormatType.CFT\_WAV _// set fileFormat,CFT\_WAV._
}