@Override public void writeObject(DataOutput out) throws IOException { super.writeObject(out); Sound sound = (Sound) node; out.writeBoolean(sound.getContinuousEnable()); out.writeBoolean(sound.getEnable()); out.writeFloat(sound.getInitialGain()); out.writeInt(sound.getLoop()); out.writeFloat(sound.getPriority()); out.writeBoolean(sound.getReleaseEnable()); out.writeInt(boundingLeaf); control.writeBounds(out, sound.getSchedulingBounds()); out.writeInt(mediaContainer); out.writeBoolean(sound.getMute()); out.writeBoolean(sound.getPause()); out.writeFloat(sound.getRateScaleFactor()); }