Skip to content

Commit

Permalink
fix #175014
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Apr 27, 2023
1 parent 726b7f5 commit 5e32d30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/platform/audioCues/browser/audioCueService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5e32d30

Please sign in to comment.