diff --git a/RedBookPlayer/Hardware/Player.cs b/RedBookPlayer/Hardware/Player.cs index 4e60b65..362e7df 100644 --- a/RedBookPlayer/Hardware/Player.cs +++ b/RedBookPlayer/Hardware/Player.cs @@ -23,6 +23,11 @@ namespace RedBookPlayer.Hardware /// public bool Playing => _soundOutput?.Playing ?? false; + /// + /// Indicates if de-emphasis should be applied + /// + public bool ApplyDeEmphasis => _soundOutput?.ApplyDeEmphasis ?? false; + #endregion #region Private State Variables @@ -258,7 +263,7 @@ namespace RedBookPlayer.Hardware /// Toggle de-emphasis processing /// /// True to apply de-emphasis, false otherwise - public void ToggleDeEmphasis(bool enable) => _soundOutput.ToggleDeEmphasis(enable); + public void ToggleDeEmphasis(bool enable) => _soundOutput?.ToggleDeEmphasis(enable); /// /// Update the data context for the frontend