[gnome-sound-recorder/waveform] Waveform fixes



commit 653170da00bcf0c85cfe1cf48e38b28104dbb0fe
Author: Meg Ford <megford gnome org>
Date:   Tue Feb 17 07:45:02 2015 -0600

    Waveform fixes

 src/waveform.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/waveform.js b/src/waveform.js
index 56f207a..12a4345 100644
--- a/src/waveform.js
+++ b/src/waveform.js
@@ -228,7 +228,7 @@ const WaveForm = new Lang.Class({
 
         if (this.waveType == WaveType.PLAY) {
             lastTime = this.playTime;
-            this.playTime = playTime;
+            this.playTime = Math.floor(playTime);
 
             if (peaks.length < this.playTime) {
                 this.pipeline.set_state(Gst.State.PLAYING);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]