Add aeffect.c

Change-Id: I194586a5d74aaf89d002a532d3345733229396c8