Rebase against 975d0632a19efd41338cb73a97f1b0bdbe7bc0cc.

This commit is contained in:
Alistair Leslie-Hughes
2021-09-21 09:08:59 +10:00
parent 2771ab8cee
commit a1db1dfc16
31 changed files with 313 additions and 327 deletions

View File

@@ -87,8 +87,8 @@ index a6402b09eff..28f32e9d092 100644
+ * So far, this possibility of saving calls to
+ * get_current_sample() is ignored.
+ */
+ float s1 = get_current_sample(dsb, idx, channel);
+ float s2 = get_current_sample(dsb, idx + istride, channel);
+ float s1 = get_current_sample(dsb, dsb->buffer->memory, dsb->buflen, idx, channel);
+ float s2 = get_current_sample(dsb, dsb->buffer->memory, dsb->buflen, idx + istride, channel);
+ float result = s1 * cur_freqAcc2 + s2 * cur_freqAcc;
+ dsb->put(dsb, i * ostride, channel, result);
+ }