mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Fix and surface de-emphasis flag
This commit is contained in:
@@ -23,6 +23,11 @@ namespace RedBookPlayer.Hardware
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public bool Playing => _soundOutput?.Playing ?? false;
|
public bool Playing => _soundOutput?.Playing ?? false;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Indicates if de-emphasis should be applied
|
||||||
|
/// </summary>
|
||||||
|
public bool ApplyDeEmphasis => _soundOutput?.ApplyDeEmphasis ?? false;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Private State Variables
|
#region Private State Variables
|
||||||
@@ -258,7 +263,7 @@ namespace RedBookPlayer.Hardware
|
|||||||
/// Toggle de-emphasis processing
|
/// Toggle de-emphasis processing
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="enable">True to apply de-emphasis, false otherwise</param>
|
/// <param name="enable">True to apply de-emphasis, false otherwise</param>
|
||||||
public void ToggleDeEmphasis(bool enable) => _soundOutput.ToggleDeEmphasis(enable);
|
public void ToggleDeEmphasis(bool enable) => _soundOutput?.ToggleDeEmphasis(enable);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Update the data context for the frontend
|
/// Update the data context for the frontend
|
||||||
|
|||||||
Reference in New Issue
Block a user