Examples of seekFrame()


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

        startFrame  = ((Number) rom.msg.getArg( argIdx )).longValue();
      } else {
        startFrame  = 0;
      }
      af      = AudioFile.openAsRead( new File( fileName ));
      af.seekFrame( startFrame );
      plugIn    = new Replace( af );
    }
    catch( IndexOutOfBoundsException e1 ) {
      OSCRoot.failedArgCount( rom );
      return;
View Full Code Here

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

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.writeFrames( mappedData, offset, len );
View Full Code Here

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

          }
         
          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

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

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.writeFrames( mappedData, offset, len );
View Full Code Here

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

          }
         
          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.