aicas logoJamaica 3.2 release 62

javax.sound.midi
Class Sequencer.SyncMode

java.lang.Object
  extended by javax.sound.midi.Sequencer.SyncMode
Enclosing interface:
Sequencer

public static class Sequencer.SyncMode
extends Object

A SyncMode object represents the mechanism by which a MIDI sequencer synchronizes time with a master or slave device.


Field Summary
static Sequencer.SyncMode INTERNAL_CLOCK
          A master sync mode indicating the use of an internal sequencer clock.
static Sequencer.SyncMode MIDI_SYNC
          A master or slave sync mode indicating the use of MIDI clock messages.
static Sequencer.SyncMode MIDI_TIME_CODE
          A master or slave sync mode indicating the use of MIDI Time Code messages.
static Sequencer.SyncMode NO_SYNC
          A slave sync mode indicating that no timing info will be transmitted.
 
Constructor Summary
protected Sequencer.SyncMode(String name)
          Create a new SyncMode object
 
Method Summary
 boolean equals(Object o)
          SyncMode objects are only equal when identical.
 int hashCode()
          SyncMode objects use the Object hashCode.
 String toString()
          Use the SyncMode name as the string representation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INTERNAL_CLOCK

public static final Sequencer.SyncMode INTERNAL_CLOCK
A master sync mode indicating the use of an internal sequencer clock.


MIDI_SYNC

public static final Sequencer.SyncMode MIDI_SYNC
A master or slave sync mode indicating the use of MIDI clock messages.


MIDI_TIME_CODE

public static final Sequencer.SyncMode MIDI_TIME_CODE
A master or slave sync mode indicating the use of MIDI Time Code messages.


NO_SYNC

public static final Sequencer.SyncMode NO_SYNC
A slave sync mode indicating that no timing info will be transmitted.

Constructor Detail

Sequencer.SyncMode

protected Sequencer.SyncMode(String name)
Create a new SyncMode object

Parameters:
name - the SyncMode name
Method Detail

equals

public final boolean equals(Object o)
SyncMode objects are only equal when identical.

Overrides:
equals in class Object
Parameters:
o - the other object.
Returns:
if this and other are considered equal.

hashCode

public final int hashCode()
SyncMode objects use the Object hashCode.

Overrides:
hashCode in class Object
Returns:
a hash code value.

toString

public final String toString()
Use the SyncMode name as the string representation.

Overrides:
toString in class Object
Returns:
a string identifying this object.
See Also:
Object.toString()

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.