From 29af6583aea82c5e0b7ca2f810e15d8dcda70c6b Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 3 Feb 2017 11:29:38 +0100 Subject: [PATCH] test.js: remove trailing spaces --- test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.js b/test.js index e4f779e..9b2f86e 100644 --- a/test.js +++ b/test.js @@ -15,7 +15,7 @@ var get_features = function(path, params) { var samplerate = aubio.aubio_source_get_samplerate(source); console.log('samplerate: ' + samplerate); var total_frames = 0; - var tmp_read = ref.alloc('int'); + var tmp_read = ref.alloc('int'); // create tempo var tempo = aubio.new_aubio_tempo('default', params.win_s, params.hop_s, params.samplerate); @@ -51,7 +51,7 @@ var get_features = function(path, params) { var read = tmp_read.deref(); total_frames += read; if(read != params.hop_s) { break; } - } + } var cur_time = total_frames / samplerate; console.log('total time : %d seconds (%d frames)', cur_time, total_frames); console.log('found %d beats total', beats.length); -- 2.11.0