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