fix - sound effects duration and stream length rounding bug.

In our application, this line of code cause an error.