fixed a bug with resampling
fixed a bug with resampling

Fixed resampling when output rate is set to 0 (special case for output rate = input rate)

Stephane-D/SGDK,andwn/SGDK,Stephane-D/SGDK,andwn/SGDK,Stephane-D/SGDK,andwn/SGDK