Package de.sciss.io

Examples of de.sciss.io.InterleavedStreamFile.truncate()


    afd.file      = new File( dir, getName() + SUFFIX_DISTANCE );
    iff          = AudioFile.openAsWrite( afd );
           
    frameBuf[ 0 ]    = distanceTable;
    iff.writeFrames( frameBuf, 0, distanceTable.length );
    iff.truncate();
    iff.close();

    afd          = new AudioFileDescr( afd );
    afd.file      = new File( dir, getName() + SUFFIX_ROTATION );
    iff          = AudioFile.openAsWrite( afd );
View Full Code Here


    afd.file      = new File( dir, getName() + SUFFIX_ROTATION );
    iff          = AudioFile.openAsWrite( afd );
     
    frameBuf[ 0 ]    = rotationTable;
    iff.writeFrames( frameBuf, 0, rotationTable.length );
    iff.truncate();
    iff.close();
  }

  /**
   *  Additionally recalls the sensitivity tables
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.