#[no_mangle]
pub unsafe extern "C" fn ls_generate(
    chip_state: *mut ChipState,
    buffer_ptr: *mut f32,
    buffer_len: usize,
    buffer_start: usize
) -> ChipGenerationData
Expand description

Generates audio with the provided chip.

Safety

chip_state must be a valid ChipState generated from the ls_init function.

buffer_ptr must point to the first f32 in an array, and buffer_len must be the length of that array.