File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
shared-module/audiofilters Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -275,6 +275,10 @@ audioio_get_buffer_result_t audiofilters_filter_get_buffer(audiofilters_filter_o
275
275
}
276
276
277
277
if (self -> sample == NULL ) {
278
+ // tick all block inputs
279
+ shared_bindings_synthio_lfo_tick (self -> sample_rate , length / self -> channel_count );
280
+ (void )synthio_block_slot_get (& self -> mix );
281
+
278
282
if (self -> samples_signed ) {
279
283
memset (word_buffer , 0 , length * (self -> bits_per_sample / 8 ));
280
284
} else {
@@ -289,10 +293,6 @@ audioio_get_buffer_result_t audiofilters_filter_get_buffer(audiofilters_filter_o
289
293
}
290
294
}
291
295
292
- // tick all block inputs
293
- shared_bindings_synthio_lfo_tick (self -> sample_rate , length / self -> channel_count );
294
- (void )synthio_block_slot_get (& self -> mix );
295
-
296
296
length = 0 ;
297
297
} else {
298
298
// we have a sample to play and filter
You can’t perform that action at this time.
0 commit comments