An apparatus that process framed audio data to add fade-in and/or fade-out
effect with low computing speed and small memory. The apparatus includes
a deframer for taking an original value of a first gain parameter from an
input audio frame, a first gain parameter adjuster for adjusting the
first gain parameter based on the original value for a preset duration,
and a framer for generating an output audio frame, which has the adjusted
value for the first gain parameter.