jdk/src/share/classes/com/sun/media/sound/ModelConnectionBlock.java
changeset 18215 b2afd66ce6db
parent 9215 cab45ca6ab44
equal deleted inserted replaced
18214:e9eff0f1f1df 18215:b2afd66ce6db
     1 /*
     1 /*
     2  * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    32  * For example Note On velocity can be connected to output gain.
    32  * For example Note On velocity can be connected to output gain.
    33  * In DLS this is called articulator and in SoundFonts (SF2) a modulator.
    33  * In DLS this is called articulator and in SoundFonts (SF2) a modulator.
    34  *
    34  *
    35  * @author Karl Helgason
    35  * @author Karl Helgason
    36  */
    36  */
    37 public class ModelConnectionBlock {
    37 public final class ModelConnectionBlock {
    38 
    38 
    39     //
    39     //
    40     //   source1 * source2 * scale -> destination
    40     //   source1 * source2 * scale -> destination
    41     //
    41     //
    42     private final static ModelSource[] no_sources = new ModelSource[0];
    42     private final static ModelSource[] no_sources = new ModelSource[0];