uk.org.toot.audio.server
Interface AudioClient

All Known Implementing Classes:
AudioMixer, CompoundAudioClient, NonRealTimeAudioServer, SwitchedAudioClient

public interface AudioClient

A single AudioClient plugs into an AudioServer so that it may access the server's hardware i/o in real-time.

Author:
st

Method Summary
 void setEnabled(boolean enabled)
          When not enabled, work() may not be called and should be ignored if it is called.
 void work(int nFrames)
          Called by an AudioServer to process the specified number of frames.
 

Method Detail

work

void work(int nFrames)
Called by an AudioServer to process the specified number of frames.

Parameters:
nFrames - the number of frames to be processed

setEnabled

void setEnabled(boolean enabled)
When not enabled, work() may not be called and should be ignored if it is called.



Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.