Fix volume setting; move view model to common

This commit is contained in:
Matt Nadareski
2021-07-05 16:20:34 -07:00
parent 4efc58d0ef
commit 49d8d8c23a
6 changed files with 28 additions and 8 deletions

View File

@@ -303,6 +303,12 @@ namespace RedBookPlayer.Common.Hardware
/// <param name="apply"></param>
public void SetDeEmphasis(bool apply) => ApplyDeEmphasis = apply;
/// <summary>
/// Set the value for the volume
/// </summary>
/// <param name="volume">New volume value</param>
public void SetVolume(int volume) => Volume = volume;
/// <summary>
/// Sets or resets the de-emphasis filters
/// </summary>