Java Code Examples for javax.sound.midi.Sequencer#SyncMode

The following examples show how to use javax.sound.midi.Sequencer#SyncMode . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RealTimeSequencer.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
@Override
public void setMasterSyncMode(Sequencer.SyncMode sync) {
    // not supported
}
 
Example 2
Source File: RealTimeSequencer.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
@Override
public Sequencer.SyncMode getMasterSyncMode() {
    return masterSyncMode;
}
 
Example 3
Source File: RealTimeSequencer.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
@Override
public Sequencer.SyncMode[] getMasterSyncModes() {
    Sequencer.SyncMode[] returnedModes = new Sequencer.SyncMode[masterSyncModes.length];
    System.arraycopy(masterSyncModes, 0, returnedModes, 0, masterSyncModes.length);
    return returnedModes;
}
 
Example 4
Source File: RealTimeSequencer.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
@Override
public void setSlaveSyncMode(Sequencer.SyncMode sync) {
    // not supported
}
 
Example 5
Source File: RealTimeSequencer.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
@Override
public Sequencer.SyncMode getSlaveSyncMode() {
    return slaveSyncMode;
}
 
Example 6
Source File: RealTimeSequencer.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
@Override
public Sequencer.SyncMode[] getSlaveSyncModes() {
    Sequencer.SyncMode[] returnedModes = new Sequencer.SyncMode[slaveSyncModes.length];
    System.arraycopy(slaveSyncModes, 0, returnedModes, 0, slaveSyncModes.length);
    return returnedModes;
}
 
Example 7
Source File: RealTimeSequencer.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public void setMasterSyncMode(Sequencer.SyncMode sync) {
    // not supported
}
 
Example 8
Source File: RealTimeSequencer.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Sequencer.SyncMode getMasterSyncMode() {
    return masterSyncMode;
}
 
Example 9
Source File: RealTimeSequencer.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Sequencer.SyncMode[] getMasterSyncModes() {
    Sequencer.SyncMode[] returnedModes = new Sequencer.SyncMode[masterSyncModes.length];
    System.arraycopy(masterSyncModes, 0, returnedModes, 0, masterSyncModes.length);
    return returnedModes;
}
 
Example 10
Source File: RealTimeSequencer.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public void setSlaveSyncMode(Sequencer.SyncMode sync) {
    // not supported
}
 
Example 11
Source File: RealTimeSequencer.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Sequencer.SyncMode getSlaveSyncMode() {
    return slaveSyncMode;
}
 
Example 12
Source File: RealTimeSequencer.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public Sequencer.SyncMode[] getSlaveSyncModes() {
    Sequencer.SyncMode[] returnedModes = new Sequencer.SyncMode[slaveSyncModes.length];
    System.arraycopy(slaveSyncModes, 0, returnedModes, 0, slaveSyncModes.length);
    return returnedModes;
}