Skip to content
Snippets Groups Projects

bl00mbox: slow line in

Merged moon2 requested to merge blm_docs into main
@@ -67,7 +67,7 @@ void sampler_run(radspa_t * sampler, uint16_t num_samples, uint32_t render_pass_
if(data->read_head_position < data->sample_len){
uint32_t sample_offset_pos = data->read_head_position + data->sample_start;
if(sample_offset_pos >= data->sample_len) sample_offset_pos -= data->sample_len;
ret = radspa_mult_shift(buf[data->read_head_position], data->volume);
ret = radspa_mult_shift(buf[sample_offset_pos], data->volume);
data->read_head_position++;
} else {
//ret = (ret * 255)>>8; // avoid dc clicks with bad samples
Loading