Expose POST /api/audio/stereo-enhance and bass-enhance with 0–100 levels, persist enhancements in AudioProfile, and document the virtual EQ mapping in the manual and SigmaStudio chapter. Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
542 B
C++
27 lines
542 B
C++
/**
|
|
* @file AudioEnhancements.cpp
|
|
* @brief AudioEnhancements factory defaults.
|
|
*
|
|
* DigiRadio firmware — https://github.com/manvalan/DigiRadio
|
|
*
|
|
* Copyright 2026 Michele Bigi
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* @author Michele Bigi
|
|
* @date 2026-07-06
|
|
*/
|
|
|
|
#include "core/AudioEnhancements.hpp"
|
|
|
|
namespace core {
|
|
|
|
AudioEnhancements AudioEnhancements::factoryDefault() noexcept
|
|
{
|
|
return AudioEnhancements{
|
|
.stereo = EnhanceLevel::zero(),
|
|
.bass = EnhanceLevel::zero(),
|
|
};
|
|
}
|
|
|
|
} // namespace core
|