Fix volume setting bug

This commit is contained in:
Matt Nadareski
2021-07-03 21:00:14 -07:00
parent 416772ab35
commit e86896045b
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ namespace RedBookPlayer.GUI
// Create and attempt to initialize new Player
_player = new Player(path, autoPlay, defaultVolume);
if(Initialized)
UpdateModel();
UpdateView();
}
#region Playback

View File

@@ -64,7 +64,7 @@ namespace RedBookPlayer.Hardware
/// <summary>
/// Internal value for the volume
/// </summary>
private int _volume = 100;
private int _volume;
/// <summary>
/// Data provider for sound output