uk.org.toot.demo
Class MultiTrackPlayer.PlayerProcess

java.lang.Object
  extended by uk.org.toot.demo.AudioFilePlayerProcess
      extended by uk.org.toot.demo.MultiTrackPlayer.PlayerProcess
All Implemented Interfaces:
uk.org.toot.audio.core.AudioProcess
Enclosing class:
MultiTrackPlayer

public class MultiTrackPlayer.PlayerProcess
extends AudioFilePlayerProcess

PlayerProcess extends AudioFilePlayerProcess with a K-System meter and for efficiency avoids metering if there is no audio connected.


Nested Class Summary
 
Nested classes/interfaces inherited from class uk.org.toot.demo.AudioFilePlayerProcess
AudioFilePlayerProcess.ProcessFormat, AudioFilePlayerProcess.Puller
 
Field Summary
 
Fields inherited from class uk.org.toot.demo.AudioFilePlayerProcess
ais
 
Fields inherited from interface uk.org.toot.audio.core.AudioProcess
AUDIO_DISCONNECT, AUDIO_OK
 
Constructor Summary
MultiTrackPlayer.PlayerProcess(uk.org.toot.audio.core.AudioControlsChain controls)
           
 
Method Summary
 int processAudio(uk.org.toot.audio.core.AudioBuffer buffer)
           
 
Methods inherited from class uk.org.toot.demo.AudioFilePlayerProcess
attachMetaInfo, close, handleEndOfTrack, locate, open, openStream, setFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiTrackPlayer.PlayerProcess

public MultiTrackPlayer.PlayerProcess(uk.org.toot.audio.core.AudioControlsChain controls)
Method Detail

processAudio

public int processAudio(uk.org.toot.audio.core.AudioBuffer buffer)
Specified by:
processAudio in interface uk.org.toot.audio.core.AudioProcess
Overrides:
processAudio in class AudioFilePlayerProcess