src/plugins/rayo/src/java/com/sun/voip/RtpSenderPacket.java
/*
     * Adjust the RTP timestamp by the specified amount.
     * This adjustment is necessary after a comfort payload change
     * or when there is a long pause.
     */
Adjust the RTP timestamp by the specified amount.
This adjustment is necessary after a comfort payload change
or when there is a long pause.
Adjust the RTP timestamp by the specified amount . This adjustment is necessary after a comfort payload change or when there is a long pause .
public void adjustRtpTimestamp(long elapsed) {
        int adjustment = (int)
	    (elapsed * (getDataSize() / RtpPacket.PACKET_PERIOD));
        adjustment = ((adjustment + getDataSize() - 1) / getDataSize()) *
            getDataSize();
        buffer[1] |= MARK_BIT; 
	adjustRtpTimestamp(adjustment);
    }
public void adjustRtpTimestamp ( long elapsed ) { int adjustment = ( int ) ( elapsed * ( getDataSize ( ) / RtpPacket . PACKET_PERIOD ) ) ; adjustment = ( ( adjustment + getDataSize ( ) - 1 ) / getDataSize ( ) ) * getDataSize ( ) ; buffer [ 1 ] |= MARK_BIT ; adjustRtpTimestamp ( adjustment ) ; }
Adjust the RTP timestamp by the specified amount.
Adjust the RTP timestamp by the specified amount .