diff options
| author | XANTRONIX Development | 2022-03-07 20:13:43 -0500 | 
|---|---|---|
| committer | XANTRONIX Development | 2022-03-07 20:13:43 -0500 | 
| commit | db032424069c9676659671f8af69b6b182765643 (patch) | |
| tree | 73d412c6c93f5262b0652001d6baf21f19513c70 /include/xas | |
| parent | 797e92c3287c9ce4958d2ab51c8ad55972373dfc (diff) | |
| download | xas-db032424069c9676659671f8af69b6b182765643.tar.gz xas-db032424069c9676659671f8af69b6b182765643.tar.bz2 xas-db032424069c9676659671f8af69b6b182765643.zip | |
Add sorted linked list to sequenced events
Diffstat (limited to 'include/xas')
| -rw-r--r-- | include/xas/seq.h | 11 | 
1 files changed, 8 insertions, 3 deletions
| diff --git a/include/xas/seq.h b/include/xas/seq.h index f7ec322..86acefc 100644 --- a/include/xas/seq.h +++ b/include/xas/seq.h @@ -50,15 +50,20 @@ struct _xas_seq_event {          enum xas_synth_type synth_type;          const char *phrase;      }; +}; + +typedef struct _xas_seq_event_list_item xas_seq_event_list_item; -    xas_seq_event *next; +struct _xas_seq_event_list_item { +    xas_seq_event *ev; +    xas_seq_event_list_item *next;  };  typedef struct _xas_seq {      xas_spatial_scene *scene; -    xas_seq_event *first, -                    *last; +    xas_seq_event_list_item *first, +                              *last;      size_t buffer_size;  } xas_seq; | 
 
    