diff --git a/src/audio/mixer.c b/src/audio/mixer.c index 746863be..40c8dc4d 100644 --- a/src/audio/mixer.c +++ b/src/audio/mixer.c @@ -421,6 +421,18 @@ void aDuplicateImpl(uint16_t count, uint16_t in_addr, uint16_t out_addr) { } while (count-- > 0); } +void aDMEMMove2Impl(uint8_t t, uint16_t in_addr, uint16_t out_addr, uint16_t count) { + uint8_t *in = BUF_U8(in_addr); + uint8_t *out = BUF_U8(out_addr); + int nbytes = ROUND_UP_32(count); + + do { + memmove(out, in, nbytes); + in += nbytes; + out += nbytes; + } while (t-- > 0); +} + void aResampleZohImpl(uint16_t pitch, uint16_t start_fract) { int16_t *in = BUF_S16(rspa.in); int16_t *out = BUF_S16(rspa.out); diff --git a/tools/Torch b/tools/Torch index 3bea96b1..73ce1410 160000 --- a/tools/Torch +++ b/tools/Torch @@ -1 +1 @@ -Subproject commit 3bea96b12b13c64f9f2dfc76e4475ea434b996ef +Subproject commit 73ce1410bb811a06582913d4005dcd7a6c93ec68 diff --git a/tools/future b/tools/future new file mode 160000 index 00000000..57f4129a --- /dev/null +++ b/tools/future @@ -0,0 +1 @@ +Subproject commit 57f4129a7a0792c6c0f7e44e8c171c8e01c12a41