Package net.sf.fmj.utility

Examples of net.sf.fmj.utility.RingBuffer


    if (connected)
      return;
   
    if ( null == jitterBuffer )
    {
      jitterBuffer = new RingBuffer(jitterbuflen);
      if (TRACE) logger.fine("jitterbuflen=" + jitterbuflen);
    }
   
    try
    {
View Full Code Here


        // TODO: should always be the same as outputVideoFormat:
        final VideoFormat format = convertCivilFormat(image.getFormat());
       
        if ( null == jitterBuffer )
        {
          jitterBuffer = new RingBuffer(jitterbuflen);
          if (TRACE) logger.fine("jitterbuflen=" + jitterbuflen);
        }
       
        synchronized ( currentBufferMutex )
        {
View Full Code Here

                    logger.log(Level.WARNING, "" + e, e);
                }
            }
           
            jitterbuflen = (int)time;
            jitterBuffer = new RingBuffer(jitterbuflen);
            if (TRACE) logger.fine("jitterbuflen=" + jitterbuflen);
           
            if ( isStarted )
            {
                try
View Full Code Here

    numTracks = super.setNumTracks(numTracks);
   
    jitterBuffer = new RingBuffer[numTracks];
    for (int track = 0; track < numTracks; ++track)
    {
      jitterBuffer[track] = new RingBuffer(1);
    }
   
    streams = new RawBufferSourceStream[numTracks];
    for (int track = 0; track < numTracks; ++track)
    {
View Full Code Here

TOP

Related Classes of net.sf.fmj.utility.RingBuffer

Copyright © 2018 www.massapicom. 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.