Subversion Repositories svn.mios

Rev

Rev 628 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 628 Rev 721
Line 106... Line 106...
106
    public void send(MidiMessage message, long timestamp) {
106
    public void send(MidiMessage message, long timestamp) {
107
        Object[] parametersArray = midiParameters.toArray();
107
        Object[] parametersArray = midiParameters.toArray();
108
108
109
        for (int p = 0; p < parametersArray.length; p++) {
109
        for (int p = 0; p < parametersArray.length; p++) {
110
            if (parametersArray[p] != null) {
110
            if (parametersArray[p] != null) {
111
                ((MidiParameter) parametersArray[p]).send(message, timestamp);
111
                ((MidiParameterControl) parametersArray[p]).send(message, timestamp);
112
            }
112
            }
113
        }
113
        }
114
    }
114
    }
115
115
116
    public void update(Observable observable, Object object) {
116
    public void update(Observable observable, Object object) {