Skip to content

Commit 758093b

Browse files
author
andriy.malyshenko
committed
Removed eq LUT tables (yay!)
1 parent c711891 commit 758093b

8 files changed

Lines changed: 23 additions & 40084 deletions

File tree

components/audio_board/Kconfig.projbuild

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,7 @@ menu "Audio Board"
205205
Equalizer configuration and runtime control remain available via
206206
the device UI. Default: disabled.
207207

208-
config DAC_TAS5805M_EQ_BQ_CALC
209-
bool "Use on-the-fly BQ coefficient calculation instead of lookup table"
210-
depends on DAC_TAS5805M_EQ_SUPPORT
211-
default false
212-
help
213-
When enabled, EQ biquad coefficients are calculated at runtime using
214-
the PPC3 (Diljith) formula instead of being read from the pre-computed
215-
lookup table. Useful for testing formula correctness on hardware.
216-
endmenu
208+
endmenu
217209

218210
menu "Merus MA120x0 interface Configuration"
219211
depends on DAC_MA120X0

components/custom_board/tas5805m/include/tas5805m.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
#include "tas5805m_types.h"
3535

3636
#if defined(CONFIG_DAC_TAS5805M_EQ_SUPPORT)
37-
#include "tas5805m_eq.h"
38-
#include "tas5805m_eq_profiles.h"
37+
#include "tas5805m_eq_config.h"
3938
#endif
4039

4140
#ifdef __cplusplus

components/custom_board/tas5805m/include/tas5805m_bq_addr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include <stdint.h>
44

5-
#if defined(CONFIG_DAC_TAS5805M_EQ_SUPPORT) && defined(CONFIG_DAC_TAS5805M_EQ_BQ_CALC)
5+
#if defined(CONFIG_DAC_TAS5805M_EQ_SUPPORT)
66

77
#ifdef __cplusplus
88
extern "C" {
@@ -132,4 +132,4 @@ static const tas5805m_bq_band_addr_t tas5825m_bq_addr_right[15] = {
132132
}
133133
#endif
134134

135-
#endif /* CONFIG_DAC_TAS5805M_EQ_SUPPORT && CONFIG_DAC_TAS5805M_EQ_BQ_CALC */
135+
#endif /* CONFIG_DAC_TAS5805M_EQ_SUPPORT */

0 commit comments

Comments
 (0)