summaryrefslogtreecommitdiff
path: root/platforms/chibios/drivers/audio_dac_additive.c
AgeCommit message (Collapse)Author
2023-09-25Reduce popping during audio initialization using the additive DAC (#21642)Nebuleon
2023-09-25Optimize the additive DAC code, fixing performance-related hangs (#21662)Nebuleon
2023-07-26Remove needless precision in additive DAC sample generation (#21498)Nebuleon
2023-07-26Fix stuck note with square wave in additive DAC (#21589)Nebuleon
2023-07-23Allow the user to select one tone for the additive DAC (#21591)Nebuleon
Previously, if the user tried to use `#define AUDIO_MAX_SIMULTANEOUS_TONES 1` to conserve CPU time, their firmware would fail to build with this error: ``` platforms/chibios/drivers/audio_dac_additive.c:91:73: error: excess elements in array initializer [-Werror] 91 | static float active_tones_snapshot[AUDIO_MAX_SIMULTANEOUS_TONES] = {0, 0}; | ^ ``` This also affected the preset `#define AUDIO_DAC_QUALITY_VERY_HIGH`, which called up only one simultaneous tone at 88200 Hz.
2023-07-16quantum: remove direct `quantum.h` includes (#21507)Ryan
2023-04-05Disable specific warnings to mitigate compilation problems with ↵Nick Brassel
`KEEP_INTERMEDIATES=yes`. (#20339)
2023-01-20Fix functions with empty params (#19647)Ryan
* Fix functions with empty params * Found a bunch more
2022-02-12Format code according to conventions (#16322)QMK Bot
2021-10-06Move Audio drivers from quantum to platform drivers folder (#14308)Drashna Jaelre
* Move Audio drivers from quantum to platform drivers folder * fix path for audio drivers Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>