com.frinika.toot
Class PriorityAudioServer

java.lang.Object
  extended by uk.org.toot.audio.server.AbstractAudioServer
      extended by uk.org.toot.audio.server.TimedAudioServer
          extended by com.frinika.toot.PriorityAudioServer
All Implemented Interfaces:
java.lang.Runnable, uk.org.toot.audio.server.AudioServer, ExtendedAudioServer
Direct Known Subclasses:
JavaSoundAudioServer, MultiplexedJavaSoundAudioServer

public abstract class PriorityAudioServer
extends TimedAudioServer


Field Summary
 
Fields inherited from class uk.org.toot.audio.server.TimedAudioServer
hasStopped, isRunning, maximumLatencyMilliseconds, stableCount, stableThreshold, started, syncLine
 
Fields inherited from class uk.org.toot.audio.server.AbstractAudioServer
bufferFrames, endTimeNanos, startTimeNanos
 
Fields inherited from interface uk.org.toot.audio.server.AudioServer
THREAD_NAME
 
Constructor Summary
PriorityAudioServer()
           
 
Method Summary
 void assertPriority()
           
 int getPriority()
           
 void requestPriority(int i)
           
 void work()
           
 
Methods inherited from class uk.org.toot.audio.server.TimedAudioServer
calculateBufferFrames, canStart, controlGained, getActualLatencyMilliseconds, getBufferMilliseconds, getBufferUnderRuns, getLatencyMilliseconds, getLowestLatencyMilliseconds, getMaximumLatencyMilliseconds, getMinimumLatencyMilliseconds, getTotalLatencyFrames, isRunning, reset, resetMetrics, run, setBufferMilliseconds, setLatencyMilliseconds, startImpl, stopImpl, sync
 
Methods inherited from class uk.org.toot.audio.server.AbstractAudioServer
_createAudioBuffer, checkStart, createAudioBuffer, getBufferFrames, getLoad, removeAudioBuffer, resizeBuffers, setClient, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.org.toot.audio.server.ExtendedAudioServer
getConfigKey, getInputs, getOutputs, getSampleSizeInBits
 
Methods inherited from interface uk.org.toot.audio.server.AudioServer
closeAudioInput, closeAudioOutput, createAudioBuffer, getAvailableInputNames, getAvailableOutputNames, getInputLatencyFrames, getLoad, getOutputLatencyFrames, getSampleRate, openAudioInput, openAudioOutput, setClient, start, stop
 

Constructor Detail

PriorityAudioServer

public PriorityAudioServer()
Method Detail

work

public void work()
Overrides:
work in class AbstractAudioServer

requestPriority

public void requestPriority(int i)

getPriority

public int getPriority()

assertPriority

public void assertPriority()