uk.org.toot.audio.system
Class AudioConnection

java.lang.Object
  extended by uk.org.toot.audio.system.AudioConnection

public abstract class AudioConnection
extends java.lang.Object

This class represents an audio connection. The connection may be created with various flags.

Author:
st

Field Summary
static int INPUT_LOCKED
          INPUT_LOCKED indicates that the connection may not ne connected to a different AudioInput, the connection destination is immutable.
static int OUTPUT_LOCKED
          OUTPUT_LOCKED indicates that the connection may not ne connected from a different AudioOutput, the connection source is immutable.
static int PLAYBACK
          PLAYBACK indicates that the audio is already recorded such that audio recording can ignore these connections
static int SYSTEM
          SYSTEM indicates that the connection is created by the system rather than by a user.
 
Constructor Summary
AudioConnection(int flags)
           
 
Method Summary
abstract  void close()
           
abstract  java.lang.String getInputName()
           
abstract  java.lang.String getOutputLocation()
           
abstract  java.lang.String getOutputName()
           
 boolean isPlayback()
           
 boolean isSystem()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLAYBACK

public static final int PLAYBACK
PLAYBACK indicates that the audio is already recorded such that audio recording can ignore these connections

See Also:
Constant Field Values

SYSTEM

public static final int SYSTEM
SYSTEM indicates that the connection is created by the system rather than by a user. Typically this might inhibit a user from closing a connection.

See Also:
Constant Field Values

OUTPUT_LOCKED

public static final int OUTPUT_LOCKED
OUTPUT_LOCKED indicates that the connection may not ne connected from a different AudioOutput, the connection source is immutable.

See Also:
Constant Field Values

INPUT_LOCKED

public static final int INPUT_LOCKED
INPUT_LOCKED indicates that the connection may not ne connected to a different AudioInput, the connection destination is immutable.

See Also:
Constant Field Values
Constructor Detail

AudioConnection

public AudioConnection(int flags)
Method Detail

close

public abstract void close()

getOutputName

public abstract java.lang.String getOutputName()
Returns:
String - the connection source.

getOutputLocation

public abstract java.lang.String getOutputLocation()

getInputName

public abstract java.lang.String getInputName()
Returns:
String - the connection destination.

isSystem

public boolean isSystem()

isPlayback

public boolean isPlayback()


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