Update SineSource.cpp for Slim