Here you can find the source of random_g729()
static short random_g729()
//package com.java2s; /*/*from w ww . ja v a2 s .c o m*/ * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ public class Main { private static short seed = 21845; /** * Return random short. * * @return random short */ static short random_g729() { seed = (short) (seed * 31821L + 13849L); return (seed); } }