FreeCalypso > hg > fc-tourmaline
view src/cs/drivers/drv_app/r2d/r2d_independance_layer.h @ 283:d9e3f3e293ac
etm_audio.c: fix off-by-one error in auw of FIR coefficients
The implementation of auw operation for UL or DL FIR upload
had this bug: the number of 16-bit shortwords copied into the
RVF-allocated temporary buffer was one too many, causing memory
corruption errors. The present change fixes this bug.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 08 Nov 2021 02:54:04 +0000 |
parents | 4e78acac3d88 |
children |
line wrap: on
line source
#ifndef __INDEPENDANCE_H_ #define __INDEPENDANCE_H_ #define R2D_FREE(p) rvf_free_buf((void*)(p)) #define R2D_MALLOC(id,t,s,p) rvf_get_buf(id, s, (T_RVF_BUFFER**)&p) #endif