@Test
public void parseAlacAudioSpecificConfig() {

  byte[] alacSpecificConfig =
      new byte[] {
        0, 0, 16, 0, // frameLength
        0, // compatibleVersion
        16, // bitDepth
        40, 10, 14, // tuning parameters
        2, // numChannels = 2
        0, 0, // maxRun
        0, 0, 64, 4, // maxFrameBytes
        0, 46, -32, 0, // avgBitRate
        0, 1, 119, 0, // sampleRate = 96000
      };
  Pair<Integer, Integer> sampleRateAndChannelCount =
      CodecSpecificDataUtil.parseAlacAudioSpecificConfig(alacSpecificConfig);
  assertThat(sampleRateAndChannelCount.first).isEqualTo(96000);
  assertThat(sampleRateAndChannelCount.second).isEqualTo(2);
}