code: function floatToInt_(sample, args) {
    return parseInt(
      sample > 0 ? sample * args.newMax : sample * args.newMin, 10);
  }
docs: Change the bit depth from float to int.
  @param {number} sample The sample.
  @param {!Object<string, number>} args Data about the original and target bit depths.
  @return {number}
  @private