mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Fix volume setting bug
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user