aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html')
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html b/files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html
index 2d29213737..6a8e5b70fc 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html
@@ -1,12 +1,13 @@
---
title: AudioContext.createBuffer()
-slug: Web/API/AudioContext/createBuffer
+slug: Web/API/BaseAudioContext/createBuffer
tags:
- 创建音频片段
- 接口
- 方法
- 音频环境
translation_of: Web/API/BaseAudioContext/createBuffer
+original_slug: Web/API/AudioContext/createBuffer
---
<p>音频环境{{ domxref("AudioContext") }} 接口的 <code>createBuffer() 方法用于新建一个空</code>白的 {{ domxref("AudioBuffer") }} 对象,以便用于填充数据,通过 {{ domxref("AudioBufferSourceNode") }} 播放。</p>