Fix input buffer while resampling

This commit is contained in:
Pieter De Gendt
2019-12-03 12:17:42 +01:00
committed by Pieter De Gendt
parent 7285b1ee03
commit 311909a2dd
+1
View File
@@ -433,6 +433,7 @@ int play(void *buf, int samples) {
if (e)
die("Error during soxr process: %s", e);
in += i_done * NPORTS; // advance our input buffer
samples -= i_done;
thisbuf -= o_done;
jack_ringbuffer_write_advance(jackbuf, o_done * jack_sample_size * NPORTS);