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
|
// Create and attempt to initialize new Player
|
||||||
_player = new Player(path, autoPlay, defaultVolume);
|
_player = new Player(path, autoPlay, defaultVolume);
|
||||||
if(Initialized)
|
if(Initialized)
|
||||||
UpdateModel();
|
UpdateView();
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Playback
|
#region Playback
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ namespace RedBookPlayer.Hardware
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Internal value for the volume
|
/// Internal value for the volume
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private int _volume = 100;
|
private int _volume;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Data provider for sound output
|
/// Data provider for sound output
|
||||||
|
|||||||
Reference in New Issue
Block a user