From 5e32d30a4683b1d51377cb0ec5f44a279944f7ad Mon Sep 17 00:00:00 2001 From: meganrogge Date: Thu, 27 Apr 2023 08:32:57 -0700 Subject: [PATCH] fix #175014 --- src/vs/platform/audioCues/browser/audioCueService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vs/platform/audioCues/browser/audioCueService.ts b/src/vs/platform/audioCues/browser/audioCueService.ts index 0aa362fd186b1..90a707db13aa1 100644 --- a/src/vs/platform/audioCues/browser/audioCueService.ts +++ b/src/vs/platform/audioCues/browser/audioCueService.ts @@ -74,6 +74,7 @@ export class AudioCueService extends Disposable implements IAudioCueService { const sound = this.sounds.get(url); if (sound) { sound.volume = this.getVolumeInPercent() / 100; + sound.currentTime = 0; await sound.play(); } else { const playedSound = await playAudio(url, this.getVolumeInPercent() / 100);