javax.sound.midi

Class Sequencer.SyncMode

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.SyncModeINTERNAL_CLOCK
A master sync mode indicating the use of an internal sequencer clock.
static Sequencer.SyncModeMIDI_SYNC
A master or slave sync mode indicating the use of MIDI clock messages.
static Sequencer.SyncModeMIDI_TIME_CODE
A master or slave sync mode indicating the use of MIDI Time Code messages.
static Sequencer.SyncModeNO_SYNC
A slave sync mode indicating that no timing info will be transmitted.
Constructor Summary
protected SyncMode(String name)
Create a new SyncMode object
Method Summary
booleanequals(Object o)
SyncMode objects are only equal when identical.
inthashCode()
SyncMode objects use the Object hashCode.
StringtoString()
Use the SyncMode name as the string representation.

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

SyncMode

protected 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.

hashCode

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

toString

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

See Also: toString