Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
fixed quick issue where volume wasn't loaded in media player for audi…
Browse files Browse the repository at this point in the history
…o files
  • Loading branch information
Lexz-08 committed Jun 29, 2022
1 parent 40bb04d commit 79349f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ private void Keyboard_KeyDown(object sender, KeyEventArgs e)
{
WindowsMediaPlayer player = new WindowsMediaPlayer();
player.URL = currentSoundpack.GetBindedAudio(KeymapHelper.GetSoundPackKey(e.KeyCode));
player.settings.volume = trckVolume.Value;
player.controls.play();

prevKey = e.KeyCode;
Expand Down

0 comments on commit 79349f7

Please sign in to comment.