code: function encode$1(samples) {
    /** @type {!Uint8Array} */
    let muLawSamples = new Uint8Array(samples.length);
    for (let i=0; i<samples.length; i++) {
      muLawSamples[i] = encodeSample$1(samples[i]);
    }
    return muLawSamples;
  }
docs: Encode 16-bit linear PCM samples into 8-bit mu-Law samples.
  @param {!Int16Array} samples A array of 16-bit PCM samples.
  @return {!Uint8Array}