corrected atoi to atof in input.c at one line

Signed-off-by: Stefan Venz <ikstream86@gmail.com>
added check for attenuation reset
if the user uses -t without a time, the attenuation will not be
resetted

Signed-off-by: Stefan Venz <ikstream86@gmail.com>