0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

don't you just love correcting tilt

This commit is contained in:
Kuba
2025-08-08 22:21:31 +02:00
committed by GitHub
parent fd9a3adf5e
commit 3d9b7cdf6c

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, config.sample_rate);
if(config.tilt != 0) tilt_init(&runtime->tilter, config.tilt);
if(config.calibration != 0) {
init_oscillator(&runtime->osc, (config.calibration == 2) ? 60 : 400, config.sample_rate);