瀏覽代碼

Add channels

Noah 7 年之前
父節點
當前提交
1d71a409c0
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      audiogram/index.js

+ 1 - 0
audiogram/index.js 查看文件

@@ -63,6 +63,7 @@ Audiogram.prototype.getWaveform = function(cb) {
63 63
   this.status("waveform");
64 64
 
65 65
   getWaveform(this.audioPath, {
66
+    channels: this.channels,
66 67
     numFrames: this.numFrames,
67 68
     samplesPerFrame: this.settings.samplesPerFrame
68 69
   }, function(err, waveform){