aboutsummaryrefslogtreecommitdiff
path: root/helpers/music_file.py
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-07-17 16:32:03 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-07-17 16:37:43 +0200
commitc80ff6dc4579ab28c4064576db5a4859e639c504 (patch)
tree50d9e2cf294dc12eb7c79f075d30ea96755e76f5 /helpers/music_file.py
parent176642649ad18f056675f7d89ea84482084234bc (diff)
downloadMusicSampler-c80ff6dc4579ab28c4064576db5a4859e639c504.tar.gz
MusicSampler-c80ff6dc4579ab28c4064576db5a4859e639c504.tar.zst
MusicSampler-c80ff6dc4579ab28c4064576db5a4859e639c504.zip
Small fixes
Diffstat (limited to 'helpers/music_file.py')
-rw-r--r--helpers/music_file.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/helpers/music_file.py b/helpers/music_file.py
index 5baab7e..7e5f978 100644
--- a/helpers/music_file.py
+++ b/helpers/music_file.py
@@ -177,8 +177,6 @@ class MusicFile(Machine):
177 ms = int(self.sound_position * 1000) 177 ms = int(self.sound_position * 1000)
178 ms_fo = max(1, int(fade_out * 1000)) 178 ms_fo = max(1, int(fade_out * 1000))
179 179
180 # FIXME: stop fade_out puis seek -5 -> on abandonne le fade ? (cf
181 # commentaire dans fonction seek
182 new_audio_segment = self.current_audio_segment[:ms + ms_fo].fade_out(ms_fo) 180 new_audio_segment = self.current_audio_segment[:ms + ms_fo].fade_out(ms_fo)
183 with self.music_lock: 181 with self.music_lock:
184 self.current_audio_segment = new_audio_segment 182 self.current_audio_segment = new_audio_segment