瀏覽代碼

end or null

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

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

159
 
159
 
160
   // If the audio needs to be clipped, clip it first and update the path
160
   // If the audio needs to be clipped, clip it first and update the path
161
   if (this.settings.start || this.settings.end) {
161
   if (this.settings.start || this.settings.end) {
162
-    q.defer(this.trimAudio.bind(this), this.settings.start || 0, this.settings.end);
162
+    q.defer(this.trimAudio.bind(this), this.settings.start || 0, this.settings.end || null);
163
   }
163
   }
164
 
164
 
165
   // Get the audio's duration for computing number of frames
165
   // Get the audio's duration for computing number of frames