Smpeg + sdl (+ mixer)

is it possible to make the effect when first mp3 fade out, but second fadi in for some 5 sec.
some thing like when background music still playing with volume -20% per seccond and the action sound start playing from zero to max by +20% per second of volume, and there is some moment when both sounds playing.
how can i made such effect?