diff options
Diffstat (limited to 'src/seq.c')
-rw-r--r-- | src/seq.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -563,7 +563,7 @@ static inline void timerupdate(struct timeval *tv, } int xas_seq_play(xas_seq *seq, xas_audio_stream *sink) { - xas_seq_event_list_item *item = seq->first; + xas_seq_event_list_item *item; xas_audio_stream *source; size_t frame = 0, @@ -574,13 +574,15 @@ int xas_seq_play(xas_seq *seq, xas_audio_stream *sink) { int16_t *samples; - event_sort(seq); - if ((source = xas_spatial_scene_stream_new(seq->scene, seq->buffer_size)) == NULL) { goto error_spatial_scene_stream_new; } + event_sort(seq); + + item = seq->first; + while (item) { struct timeval tv; |