Skip to content

Commit

Permalink
调整格式
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyuecn committed Jan 6, 2019
1 parent 1c29df1 commit 5a9979b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ wav格式编码器时参考网上资料写的,会发现代码和别人家的


# :open_book:扩展
`src/extensions`目录内为扩展支持库。
`src/extensions`目录内为扩展支持库,这些扩展库默认都没有合并到生成代码中,需单独引用(`dist``src`中的)才能使用

## `WaveView`扩展
`waveview.js`,4kb大小源码,录音时动态显示波形,具体样子参考演示地址页面。此扩展参考[MCVoiceWave](https://github.com/HaloMartin/MCVoiceWave)库编写的,具体代码在`https://github.com/HaloMartin/MCVoiceWave/blob/f6dc28975fbe0f7fc6cc4dbc2e61b0aa5574e9bc/MCVoiceWave/MCVoiceWaveView.m`中。
Expand All @@ -166,7 +166,7 @@ rec.open(function(){

### 【构造】wave=Recorder.WaveView(set)
构造函数,`set`参数为配置对象,默认配置值如下:
```
``` javascript
set={
elem:"css selector" //自动显示到dom,并以此dom大小为显示大小
//或者配置显示大小,手动把this.canvas显示到别的地方
Expand Down

0 comments on commit 5a9979b

Please sign in to comment.