Application prototype #14
@ -101,7 +101,7 @@ fn main() {
|
|||||||
let debug_mode = create_signal(false); /* DEBUG */
|
let debug_mode = create_signal(false); /* DEBUG */
|
||||||
|
|
||||||
/* INSTRUMENTS */
|
/* INSTRUMENTS */
|
||||||
const SAMPLE_PERIOD: i32 = 20;
|
const SAMPLE_PERIOD: i32 = 60;
|
||||||
let mut last_sample_time = 0.0;
|
let mut last_sample_time = 0.0;
|
||||||
let mut frames_since_last_sample = 0;
|
let mut frames_since_last_sample = 0;
|
||||||
let mean_frame_interval = create_signal(0.0);
|
let mean_frame_interval = create_signal(0.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user