docs: private void addAdtsToPacket(byte[] packet, int packetLen) {
          packet[0] = (byte) 0xFF;        // 11111111          = syncword
          packet[1] = (byte) 0xF9;        // 1111 1 00 1       = syncword MPEG-2 Layer CRC
          packet[2] = (byte) (((profile - 1) << 6) + (freqIdx << 2) + (chanCfg >> 2));
          packet[3] = (byte) (((chanCfg & 3) << 6) + (packetLen >> 11));
          packet[4] = (byte) ((packetLen & 0x7FF) >> 3);
          packet[5] = (byte) (((packetLen & 7) << 5) + 0x1F);
          packet[6] = (byte) 0xFC;
      }