Tabnine Logo
Processor.addControllerListener
Code IndexAdd Tabnine to your IDE (free)

How to use
addControllerListener
method
in
javax.media.Processor

Best Java code snippets using javax.media.Processor.addControllerListener (Showing top 9 results out of 315)

origin: igniterealtime/Smack

private synchronized boolean waitForState(Processor p, int state) {
  p.addControllerListener(new StateListener());
  failed = false;
  // Call the required method on the processor
  if (state == Processor.Configured) {
    p.configure();
  }
  else if (state == Processor.Realized) {
    p.realize();
  }
  // Wait until we get an event that confirms the
  // success of the method, or a failure event.
  // See StateListener inner class
  while (p.getState() < state && !failed) {
    synchronized (getStateLock()) {
      try {
        getStateLock().wait();
      }
      catch (InterruptedException ie) {
        return false;
      }
    }
  }
  return !failed;
}
origin: jitsi/libjitsi

processor.addControllerListener(this);
setFailed(false);
origin: org.igniterealtime.smack/smack-jingle

private synchronized boolean waitForState(Processor p, int state) {
  p.addControllerListener(new StateListener());
  failed = false;
  // Call the required method on the processor
  if (state == Processor.Configured) {
    p.configure();
  }
  else if (state == Processor.Realized) {
    p.realize();
  }
  // Wait until we get an event that confirms the
  // success of the method, or a failure event.
  // See StateListener inner class
  while (p.getState() < state && !failed) {
    synchronized (getStateLock()) {
      try {
        getStateLock().wait();
      }
      catch (InterruptedException ie) {
        return false;
      }
    }
  }
  return !failed;
}
origin: org.igniterealtime.smack/smackx-jingle

private synchronized boolean waitForState(Processor p, int state) {
  p.addControllerListener(new StateListener());
  failed = false;
  // Call the required method on the processor
  if (state == Processor.Configured) {
    p.configure();
  }
  else if (state == Processor.Realized) {
    p.realize();
  }
  // Wait until we get an event that confirms the
  // success of the method, or a failure event.
  // See StateListener inner class
  while (p.getState() < state && !failed) {
    synchronized (getStateLock()) {
      try {
        getStateLock().wait();
      }
      catch (InterruptedException ie) {
        return false;
      }
    }
  }
  return !failed;
}
origin: jitsi/libjitsi

      == null);
localPlayer.addControllerListener(
  new ControllerListener()
origin: jitsi/libjitsi

.addControllerListener(processorControllerListener);
origin: jitsi/libjitsi

player.addControllerListener(playerControllerListener);
origin: jitsi/libjitsi

final MediaLocator locator = dataSource.getLocator();
player.addControllerListener(new ControllerListener()
origin: jitsi/libjitsi

  logger.info("Created processor for SSRC="+ssrc);
processor.addControllerListener(this);
receiveStreamDesc.processor = processor;
javax.mediaProcessoraddControllerListener

Popular methods of Processor

  • getDataOutput
  • close
  • configure
  • getState
  • getTrackControls
  • realize
  • setContentDescriptor
  • start
  • stop
  • getControl
  • deallocate
  • removeControllerListener
  • deallocate,
  • removeControllerListener

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • getSystemService (Context)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now