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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user