dmonitoring_init: use &s->output[0] instead of &s->output (#19918)

This commit is contained in:
Dean Lee
2021-01-26 23:07:57 +08:00
committed by GitHub
parent b0c0de5b66
commit 4bfed95071
+1 -1
View File
@@ -24,7 +24,7 @@ void dmonitoring_init(DMonitoringModelState* s) {
#endif
int runtime = USE_DSP_RUNTIME;
s->m = new DefaultRunModel(model_path, (float*)&s->output, OUTPUT_SIZE, runtime);
s->m = new DefaultRunModel(model_path, &s->output[0], OUTPUT_SIZE, runtime);
s->is_rhd = Params().read_db_bool("IsRHD");
}