aboutsummaryrefslogtreecommitdiff
path: root/helpers/music_file.py
diff options
context:
space:
mode:
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