snd_seq_ev_set_variable

Name

snd_seq_ev_set_variable -- associate the variable length data

Synopsis

void snd_seq_ev_set_variable(snd_seq_event_t *ev, int len, void *ptr);

Description

Associates the variable length data with the event record ev. The given data pointer and length are stored on data.ext field of the event. This modifies the event flags as SND_SEQ_EVENT_LENGTH_VARIABLE mode.