Skip to content

Commit

Permalink
Allow for even louder volume
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPXL committed Feb 21, 2024
1 parent 15050ca commit e1c955a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PlaybackSection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function init(load: () => Promise<void>, play: () => void, stop: () => vo
volumeSlider.addEventListener("input", () => {
changeSpeakerIcon();
localStorage.setItem(storagePrefix + "volume", volumeSlider.value);
AudioPlayer.setVolume((volumeSlider.valueAsNumber / 100) * 5);
AudioPlayer.setVolume((volumeSlider.valueAsNumber / 100) * 10);
});
volumeSlider.dispatchEvent(new Event("input"));

Expand Down

0 comments on commit e1c955a

Please sign in to comment.