未验证 提交 2fb586c9 编写于 作者: O openharmony_ci 提交者: Gitee

!17490 【轻量级 PR】:update zh-cn/application-dev/media/using-audiorenderer-for-playback.md.

Merge pull request !17490 from Mike_lee/N/A
...@@ -130,7 +130,7 @@ export default class AudioRendererDemo { ...@@ -130,7 +130,7 @@ export default class AudioRendererDemo {
private renderModel = undefined; private renderModel = undefined;
private audioStreamInfo = { private audioStreamInfo = {
samplingRate: audio.AudioSamplingRate.SAMPLE_RATE_48000, // 采样率 samplingRate: audio.AudioSamplingRate.SAMPLE_RATE_48000, // 采样率
channels: audio.AudioChannel.CHANNEL_2, // 通道 channels: audio.AudioChannel.CHANNEL_2, // 通道
sampleFormat: audio.AudioSampleFormat.SAMPLE_FORMAT_S16LE, // 采样格式 sampleFormat: audio.AudioSampleFormat.SAMPLE_FORMAT_S16LE, // 采样格式
encodingType: audio.AudioEncodingType.ENCODING_TYPE_RAW // 编码格式 encodingType: audio.AudioEncodingType.ENCODING_TYPE_RAW // 编码格式
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册