Skip to main content

preset_state

Function preset_state 

Source
pub fn preset_state(
    synth: Synth,
    preset: &[u8],
    recipe: &Recipe,
) -> Result<PresetState, RenderError>
Expand description

Builds the plug-in state of preset, a preset file of synth.

ยงErrors

Returns RenderError::Synth for a synth without a renderer and RenderError::Preset for a file that is not a valid preset.