fifo silence bug fix

Hi
this bug fix generates silence timing using sample rate, channels number and bytes per sample. Moreover does not use errno for error cheeking but feof.
 
Cheers
Sergio