Package de.sciss.io

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


          throw new IllegalArgumentException( fOffset + " ... " + (fOffset + len) + " not within " + fileSpans[ i ].toString() );
        }

        synchronized( f ) {
          if( f.getFramePosition() != fOffset ) {
            f.seekFrame( fOffset );
          }
          for( int k = 0; k < channelMap.length; k++, j++ ) {
            mappedData[ channelMap[ k ]] = data[ j ];
          }
          f.readFrames( mappedData, offset, len );
View Full Code Here


          throw new IllegalArgumentException( fOffset + " ... " + (fOffset + len) + " not within " + fileSpans[ i ].toString() );
        }

        synchronized( f ) {
          if( f.getFramePosition() != fOffset ) {
            f.seekFrame( fOffset );
          }
          for( int k = 0; k < channelMap.length; k++, j++ ) {
            mappedData[ channelMap[ k ]] = data[ j ];
          }
          f.writeFrames( mappedData, offset, len );
View Full Code Here

          }
         
          chunkLen  = (int) Math.min( BUFSIZE, len - framesCopied );
          synchronized( f ) {
            if( f.getFramePosition() != fOffset ) {
              f.seekFrame( fOffset );
            }
            for( int k = 0; k < channelMap.length; k++, j++ ) {
              mappedData[ channelMap[ k ]] = data[ j ];
            }
            f.readFrames( mappedData, 0, chunkLen );
View Full Code Here

          throw new IllegalArgumentException( fOffset + " ... " + (fOffset + len) + " not within " + fileSpans[ i ].toString() );
        }

        synchronized( f ) {
          if( f.getFramePosition() != fOffset ) {
            f.seekFrame( fOffset );
          }
          for( int k = 0; k < channelMap.length; k++, j++ ) {
            mappedData[ channelMap[ k ]] = data[ j ];
          }
          f.readFrames( mappedData, offset, len );
View Full Code Here

          throw new IllegalArgumentException( fOffset + " ... " + (fOffset + len) + " not within " + fileSpans[ i ].toString() );
        }

        synchronized( f ) {
          if( f.getFramePosition() != fOffset ) {
            f.seekFrame( fOffset );
          }
          for( int k = 0; k < channelMap.length; k++, j++ ) {
            mappedData[ channelMap[ k ]] = data[ j ];
          }
          f.writeFrames( mappedData, offset, len );
View Full Code Here

          }
         
          chunkLen  = (int) Math.min( BUFSIZE, len - framesCopied );
          synchronized( f ) {
            if( f.getFramePosition() != fOffset ) {
              f.seekFrame( fOffset );
            }
            for( int k = 0; k < channelMap.length; k++, j++ ) {
              mappedData[ channelMap[ k ]] = data[ j ];
            }
            f.readFrames( mappedData, 0, chunkLen );
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.