Skip to content

Struct wfm_synth_refill_state_t

ClassList > wfm_synth_refill_state_t

A frame source's own state triplet, over its user pointer.More...

  • #include <wfm_synth_core.h>

Public Attributes

Type Name
void(* get_state
const char *(* refusal
int(* set_state
size_t(* state_bytes

Detailed Description

What lets a synth that pulls its frames serialize: the synth carries the frame in play, and nests the source's position as this triplet's self-validating sub-blob (dp_state.h). state_bytes returning 0 is a refusal, and refusal says why (a static sentence). A table, not four arguments, because one is shared by every source of a kind (static storage: the synth keeps the pointer). See dp_wfm_synth_set_refill_state().

Public Attributes Documentation

variable get_state

void(* wfm_synth_refill_state_t::get_state) (const void *user, void *blob);

variable refusal

const char *(* wfm_synth_refill_state_t::refusal) (const void *user);

variable set_state

int(* wfm_synth_refill_state_t::set_state) (void *user, const void *blob);

variable state_bytes

size_t(* wfm_synth_refill_state_t::state_bytes) (const void *user);


The documentation for this class was generated from the following file native/inc/doppler/wfm_synth/wfm_synth_core.h