fix compile error in fmmod

addition of the gain-parameter lead to a build failure