mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-12 16:48:10 +00:00
sound/TrackPlayer: drop extra play / seek calls
This commit is contained in:
parent
284542c114
commit
61ea059cd5
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user