def METHOD_NAME(dt):
    ok = True
    enc_c = lc3.setup_encoder(int(T.DT_MS[dt] * 1000), 16000)
    for i in range(len(C.X_PCM[dt])):
        data = lc3.encode(enc_c, C.X_PCM[dt][i], C.NBYTES[dt])
        ok = ok and data == C.BYTES_AC[dt][i]
        if not ok:
            dump(data)
            dump(C.BYTES_AC[dt][i])
    return ok