未验证 提交 efca0fc6 编写于 作者: M Mike_lee 提交者: Gitee

update zh-cn/application-dev/media/using-audiorenderer-for-playback.md.

将通道数改为通道,同步API文档修改
Signed-off-by: NMike_lee <ldlqaz1122@163.com>
上级 61bea79b
......@@ -130,7 +130,7 @@ export default class AudioRendererDemo {
private renderModel = undefined;
private audioStreamInfo = {
samplingRate: audio.AudioSamplingRate.SAMPLE_RATE_48000, // 采样率
channels: audio.AudioChannel.CHANNEL_2, // 通道
channels: audio.AudioChannel.CHANNEL_2, // 通道
sampleFormat: audio.AudioSampleFormat.SAMPLE_FORMAT_S16LE, // 采样格式
encodingType: audio.AudioEncodingType.ENCODING_TYPE_RAW // 编码格式
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册