1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-12 08:38:10 +00:00

sound/TrackPlayer: drop extra play / seek calls

This commit is contained in:
Sotiri Bakagiannis 2021-05-21 07:44:53 +01:00
parent 284542c114
commit 61ea059cd5

View File

@ -192,9 +192,6 @@ export class TrackPlayer extends SoundPlayer
} }
else else
{ {
self._howl.seek(self._startTime);
self._howl.play();
self._howl.seek(self._startTime); self._howl.seek(self._startTime);
self._id = self._howl.play(); self._id = self._howl.play();
self._howl.fade(0, self._volume, fadeDuration, self._id); self._howl.fade(0, self._volume, fadeDuration, self._id);