Function lsynth::c_compatible::ls_set_frequency
source · [−]#[no_mangle]
pub unsafe extern "C" fn ls_set_frequency(
chip_state: *mut ChipState,
channel: usize,
frequency: f32
)
Expand description
Sends a SetFrequency command to the given channel.
Safety
chip_state must be a valid ChipState generated from the ls_init function.