src/plugins/rayo/src/java/com/sun/voip/AudioConversion.java
/**
     * Convert a linear int array to a ulaw byte array starting from offset
     * @param linearData int array of linear data
     * @param offset	 integer offset from start of the arrays
     * @param ulawData   byte array in which ulaw data will be placed
     */
Convert a linear int array to a ulaw byte array starting from offset
@param linearData int array of linear data
@param offset     integer offset from start of the arrays
@param ulawData   byte array in which ulaw data will be placed
Convert a linear int array to a ulaw byte array starting from offset @param linearData int array of linear data @param offset integer offset from start of the arrays @param ulawData byte array in which ulaw data will be placed
public static void linearToUlaw(int[] linearData, byte[] ulawData,
	int ulawOffset) {
	int outIx = ulawOffset;
        for (int inIx = 0; inIx < linearData.length; inIx++) {
            ulawData[outIx++] = linearToUlaw(linearData[inIx]);
        }
    }
public static void linearToUlaw ( int [ ] linearData , byte [ ] ulawData , int ulawOffset ) { int outIx = ulawOffset ; for ( int inIx = 0 ; inIx < linearData . length ; inIx ++ ) { ulawData [ outIx ++ ] = linearToUlaw ( linearData [ inIx ] ) ; } }
Convert a linear int array to a ulaw byte array starting from offset
 @param linearData int array of linear data
 @param offset     integer offset from start of the arrays
 @param ulawData   byte array in which ulaw data will be placed
Convert a linear int array to a ulaw byte array starting from offset @param linearData int array of linear data @param offset integer offset from start of the arrays @param ulawData byte array in which ulaw data will be placed