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