Example #1
0
  @Override
  public void readObject(DataInput in) throws IOException {
    super.readObject(in);

    Sound sound = (Sound) node;

    sound.setContinuousEnable(in.readBoolean());
    sound.setEnable(in.readBoolean());
    sound.setInitialGain(in.readFloat());
    sound.setLoop(in.readInt());
    sound.setPriority(in.readFloat());
    sound.setReleaseEnable(in.readBoolean());
    boundingLeaf = in.readInt();
    sound.setSchedulingBounds(control.readBounds(in));
    mediaContainer = in.readInt();
    sound.setMute(in.readBoolean());
    sound.setPause(in.readBoolean());
    sound.setRateScaleFactor(in.readFloat());
  }