public void setTimeOffset(float timeOffset) {
        if (timeOffset < 0f) {
            throw new IllegalArgumentException("Time offset cannot be negative");
        }

        this.timeOffset = timeOffset;
        if (data instanceof AudioStream) {
            ((AudioStream) data).setTime(timeOffset);
        } else if (status == AudioSource.Status.Playing) {
            stop();
            play();
        }
    }
Set the time offset in the sound sample when to start playing.

@param timeOffset The time offset
@throws IllegalArgumentException If timeOffset is negative
jme3-core/src/main/java/com/jme3/audio/AudioNode.java