1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
ix!();

use crate::{
    AudioInputOscillator,
    AudioInputOscillatorParam,
};

impl AudioInputOscillator {

    pub fn new( 
        tables:   TablesHandle,
        synth_in: SynthInputHandle) -> Self {
        Self {
            tables,
            synth_in,
            out:          OscillatorOut::default(),
            params:       AudioInputOscillatorParam::new_runtime(),
            osc_params:   OscillatorParam::runtime_array(),
        }
    }
}