0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-27 11:33:54 +01:00

i love correcting tilt, its so simple and straight-forward

This commit is contained in:
Kuba
2025-08-08 23:13:31 +02:00
committed by GitHub
parent 89cd93909a
commit 180f1fcb51
3 changed files with 25 additions and 17 deletions

View File

@@ -439,7 +439,7 @@ int setup_audio(FM95_Runtime* runtime, const FM95_DeviceNames dv_names, const FM
}
void init_runtime(FM95_Runtime* runtime, const FM95_Config config) {
if(config.tilt != 0) tilt_init(&runtime->tilter, config.tilt);
if(config.tilt != 0) tilt_init(&runtime->tilter, config.tilt, config.sample_rate);
if(config.calibration != 0) {
init_oscillator(&runtime->osc, (config.calibration == 2) ? 60 : 400, config.sample_rate);