equal
deleted
inserted
replaced
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 /** |
32 /** |
33 * Soundfont layer. |
33 * Soundfont layer. |
34 * |
34 * |
35 * @author Karl Helgason |
35 * @author Karl Helgason |
36 */ |
36 */ |
37 public class SF2Layer extends SoundbankResource { |
37 public final class SF2Layer extends SoundbankResource { |
38 |
38 |
39 protected String name = ""; |
39 String name = ""; |
40 protected SF2GlobalRegion globalregion = null; |
40 SF2GlobalRegion globalregion = null; |
41 protected List<SF2LayerRegion> regions = new ArrayList<SF2LayerRegion>(); |
41 List<SF2LayerRegion> regions = new ArrayList<SF2LayerRegion>(); |
42 |
42 |
43 public SF2Layer(SF2Soundbank soundBank) { |
43 public SF2Layer(SF2Soundbank soundBank) { |
44 super(soundBank, null, null); |
44 super(soundBank, null, null); |
45 } |
45 } |
46 |
46 |